# Materials CivilFEM has a materials library, which can be selected through the material. Materials properties (listed in the Script Manual) can also be changed; these are organized through "containers". - **Steel**: to create a steel material it is necessary de code and the name. ```{code-block} createSteelMat("EC3"," EC3_Fe360") ``` To change structural steel properties, for example, name, Poisson ratio or thicknesses proceed as follows: ```{code-block} Material("Fe360").Name = "SteelMat" Material("SteelMat").Poisson = 0.5 Material("SteelMat").Thicknesses[1] = Double(0.15,"m") ``` It can be also parameterized as below: ```{code-block} m = Material("Fe360") m.Name = "Mat.Example" m.Poisson = 0.5 m.Thicknesses[1] = Double(0.15, "m") ``` - **Concrete**: this material is divided in three different ways: concrete, reinforcement steel and prestressing steel. To create a concrete material is necessary the code and the material. As optional argument, the name of the entity can be placed. ```{code-block} createConcreteMat("EC2"," EC2_C12") createReinfMat("S400","EC2","EC2_S400") createPrestMat("ECEN10138","EN10138_Y1570C") ``` To change concrete properties, for example, Poisson ratio, cracking or damping coefficients proceed as follows: ```{code-block} m = Material("C12/15") m.Poisson = 0.3 m.CrackingProperties.CrackingYN = True m.DampingProperties.AutocalculateRayleigh = False m.DampingProperties.AlphaRayleigh = Double(1,"Sec_Inv") ``` - **Rock**: to create rock material is needed to set Rock Type, Rock Subtype, Rock Class and Name, all possible arguments are listed in Script Manual. createRockMat("Sedimentary","Siliceous","Aggregated","Flint") To change rock properties, for example, Poisson ratio, cracking or damping coefficients proceed as follows: ```{code-block} m = Material("Flint") m.ElastMod = Double(25000,"Pa") m.Poisson = 0.2 ``` - **Soil**: CivilFEM provides a list of possible soil materials, all included in the Script Manual. ```{code-block} createSoilMat("Peat low plasticity") ``` To change soil properties, for example, Poisson ratio, cracking or damping coefficients proceed as follows: ```{code-block} m = Material("Peat low plasticity") m.ElastMod = Double(200000,"Pa") m.Poisson = 0.35 ``` - **Generic**: if you prefer to create an own material, use the generic material, in this command is needed the Elastic modulus, Poisson ratio, Density and the linear thermal expansion coefficient. ```{code-block} # Name,ElastMod,Poisson,Density,ThExpans createGenericMat("GenMat", 2500, 0.3, 1200, 0) ``` To change generic material properties, for example, Shear modulus or damping, proceed as follows: ```{code-block} m = Material("GenMat") m.ShearModulus = Double(52000,"Pa") m.DampingProperties.AutocalculateRayleigh = False m.DampingProperties.AlphaRayleigh = Double(5,"Sec_Inv") ```