create#

classmethod MaterialDef.create(database, name, **kwargs)#

Create a material definition in a given database.

Parameters:
databaseDatabase

Database to create the material definition in.

namestr

Name of the material definition.

kwargsdict{ strValue }

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

Returns:
MaterialDef

Material definition object created.