Skip to content

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 name
  • standard (default=''): Standard code (e.g., "EN(RC)", "ACI(RC)", "IS(RC)")
  • db (default=''): Database material code
  • id (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 name
  • E (default=0): Elastic modulus
  • pois (default=0): Poisson's ratio
  • den (default=0): Density
  • mass (default=0): Mass density
  • therm (default=0): Thermal expansion coefficient
  • id (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()