Concrete Material
A nested class within Material used to create concrete materials.
Standard
Material.CONC(name='', standard='', db='', id=0)
Creates a concrete material from database with specified standard and database code.
Parameters
name (default='')
: Material namestandard (default='')
: Standard code (e.g., "EN(RC)", "ACI(RC)", "IS(RC)")db (default='')
: Database material codeid (default=0)
: Manual ID assignment
Object Attributes
ID
(int): The ID of the material.DATA
(dict): A dictionary containing the material properties. Specific keys include:TYPE
(str): "CONC"NAME
(str): Name of the material.PARAM
(list): List containing a dictionary with:P_TYPE
(int): 1 (for DB material).STANDARD
(str): Name of the standard (e.g., "IS(RC)").DB
(str): Name of the material in the database (e.g., "M30").
Examples
# Create concrete material from database
Material.CONC("M30 Grade","IS(RC)","M30",1)
Material.CONC("Concrete ","EN04(RC)","C30/37",2)
Material.create()
User-Defined
Material.CONC.User(name='', E=0, pois=0, den=0, mass=0, therm=0, id=0)
Creates a user-defined concrete material with custom properties.
Parameters
name (default='')
: Material nameE (default=0)
: Elastic moduluspois (default=0)
: Poisson's ratioden (default=0)
: Densitymass (default=0)
: Mass densitytherm (default=0)
: Thermal expansion coefficientid (default=0)
: Manual ID assignment
Object Attributes
ID
(int): The ID of the material.DATA
(dict): A dictionary containing the material properties. Specific keys include:TYPE
(str): "CONC"NAME
(str): Name of the material.PARAM
(list): List containing a dictionary with:P_TYPE
(int): 2 (for user-defined).ELAST
(float): Modulus of elasticity.POISN
(float): Poisson's ratio.THERMAL
(float): Thermal coefficient.DEN
(float): Density.MASS
(float): Mass (if density is not provided).
Examples
# Create user-defined concrete material
Material.CONC.User("Custom Concrete", E=300000, pois=0.2, den=25, mass=2.5, therm=1e-5, id=3)
Material.create()