Material#
- class modularbuildingpy.core._material.Material(**kwargs)#
Bases:
objectThis class contains the material properties for steel column, beam, brace, and plate.
Caution
This class is not meant to be used directly. Please use the
get_material()method ofModelclass to call methods and attributes.Note
All units are in the SI system.
Please use kN, m, and kPa for force, length, and stress, respectively.
Attributes of Material class are:
- steel_column#
Dictionary of the steel column material properties. Default values are:
Fy: 350e3YoungModulus: 2e8ShearModulus: 77e6McMy: 1.05Lambda_UQ: 0.0ThetaP_UQ: 0.0ThetaPc_UQ: 0.0R0: 20cR1: 0.925cR2: 0.15b: 0.10a2: 1.0a1: 1.0 * (350e3 / 2e8)a4: 1.0a3: 1.0 * (350e3 / 2e8)
- Type:
dict
- steel_beam#
Dictionary of the steel beam material properties. Default values are:
Fy: 345e3YoungModulus: 2e8ShearModulus: 77e6McMy: 1.11Lambda_UQ: 0.0ThetaP_UQ: 0.0ThetaPc_UQ: 0.0
- Type:
dict
- steel_brace#
Dictionary of the steel brace material properties. Default values are:
Fy: 350e3YoungModulus: 2e8ShearModulus: 77e6R0: 20cR1: 0.925cR2: 0.15b: 0.01a2: 1.0a1: 1.0 * (350e3 / 2e8)a4: 1.0a3: 1.0 * (350e3 / 2e8)imperfection: 0.002fatigue_E0: 0.01
- Type:
dict
- steel_plate#
Dictionary of the steel plate material properties. Default values are:
Fy: 200e3YoungModulus: 2e8ShearModulus: 77e6McMy: 1.05
- Type:
dict
- steel_tendon#
Dictionary of the steel tendon material properties. Default values are:
Fy: 986e3YoungModulus: 1.9e8
- Type:
dict
Examples
Here is an example of how to modify the material properties of the steel column:
import modularbuildingpy as mbpy model = mbpy.Model(name="test", directory="/home/test") material = model.get_material() material.steel_column["Fy"] = 400e3 material.steel_column["YoungModulus"] = 2.1e8
Warning
Make sure you modify these properties before you generate the model.