Use the NewMaterial command to add a new material.
strCmdForNewMaterial = "<NewMaterial Name=""<Material Name>"" ID=""<Material ID>"" Type=""<Material Type>"" IdealisationIDList=""<Idealization ID>"" DENS=""<Mass Density>[kg/m^3]"" GE=""<Damping Coefficient>"" REFT=""<Reference Temperature>[K]"" EX=""<Elastic Modulus>[Pa]"" GXY=""<Shear Modulus>[Pa]"" NUXY=""<Poisson Ratio>"" ALPX=""<Thermal Exp. Coeff.>[/K]"" SIGXT=""<Tensile Limit>[Pa]"" SIGXC=""<Compressive Limit>[Pa]"" SIGYLD=""<Shear Limit>[Pa]"" C=""<Specific Heat>[J/(kg K)]"" KX=""<Thermal Conductivity>[W/m K]"" FailureTheory_Type=""<Failure Theory Type>"" HasConductivityTable=""0"" HasYoungsModulusTable=""0"" NonLinearType=""0"" SN_B="""" SN_Smu=""[Pa]"" SN_N0="""" SN_KF="""" SN_Be="""" SN_Se=""[Pa]"" EN_SF="""" EN_EF="""" EN_B="""" EN_C="""" HasPPFA=""""
Available material types and their values are as follows:
Material Type | Value |
Isotropic | 0 |
Orthotropic 2D | 1 |
Orthotropic 3D | 2 |
Anisotropic 3D | 3 |
Hyperelastic | 4 |
Brittle (MATB) | 5 |
Concrete (MATC) | 6 |
Crushable Foam | 7 |
Nitinol | 8 |
Viscoelastic | 9 |
The following example defines a new isotropic material:
strCmdForNewMaterial = "<NewMaterial Name=""Aluminum 1100-O"" ID=""1"" Type=""0"" IdealisationIDList="""" DENS=""2700.0000000000[kg/m^3]"" GE=""0.0000000000"" REFT=""[K]"" EX=""68947000000.0000000000[Pa]"" GXY=""25511000000.0000000000[Pa]"" NUXY=""0.3300000000"" ALPX=""0.0000240000[/K]"" SIGXT=""89631000.0000000000[Pa]"" SIGXC=""[Pa]"" SIGYLD=""[Pa]"" C=""900.0000000000[J/(kg K)]"" KX=""221.7800000000[W/m K]"" FailureTheory_Type=""1"" HasConductivityTable=""0"" HasYoungsModulusTable=""0"" NonLinearType=""0"" SN_B="""" SN_Smu=""[Pa]"" SN_N0="""" SN_KF="""" SN_Be="""" SN_Se=""[Pa]"" EN_SF="""" EN_EF="""" EN_B="""" EN_C="""" HasPPFA=""0""