create#
- classmethod MaterialDef.create(database, name, **kwargs)#
Create a material definition in a given database.
- Parameters:
- database
Database
Database to create the material definition in.
- name
str
Name of the material definition.
- kwargs
dict
{str
Value
} Dictionary to convert to a
MaterialDefPropertiesMessage
object. The dictionary key is the material property name. The dictionary value is the material property value. The expected keys for the kwargs are:permittivity
permeability
conductivity
dielectric_loss_tangent
magnetic_loss_tangent
thermal_conductivity
mass_density
specific_heat
youngs_modulus
poissons_ratio
thermal_expansion_coefficient
- database
- Returns:
MaterialDef
Material definition object created.