Material
#
- class ansys.geometry.core.materials.material.Material(name: str, density: pint.Quantity, additional_properties: collections.abc.Sequence[ansys.geometry.core.materials.property.MaterialProperty] | None = None)#
Provides the data structure for a material.
- Parameters:
- name: str
Material name.
- density: ~pint.Quantity
Material density.
- additional_properties: Sequence[MaterialProperty], default: None
Additional material properties.
Overview#
Add a material property to the |
Dictionary of the material property type and material properties. |
|
Material name. |
Import detail#
from ansys.geometry.core.materials.material import Material
Property detail#
- property Material.properties: dict[ansys.geometry.core.materials.property.MaterialPropertyType, ansys.geometry.core.materials.property.MaterialProperty]#
Dictionary of the material property type and material properties.
Method detail#
- Material.add_property(type: ansys.geometry.core.materials.property.MaterialPropertyType, name: str, quantity: pint.Quantity) None #
Add a material property to the
Material
class.- Parameters:
- type
MaterialPropertyType
Material property type.
- name: str
Material name.
- quantity: ~pint.Quantity
Material value and unit.
- type