MatProperty#

class ansys.aedt.core.modules.material.MatProperty(material, name, val=None, thermalmodifier=None, spatialmodifier=None)[source]#

Manages simple, anisotropic, tensor, and non-linear properties.

Parameters:
materialansys.aedt.core.modules.material.Material

Inherited parent object.

namestr

Name of the material property.

val

The default is None.

thermalmodifier

The default is None.

spatialmodifier

The default is None.

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> matproperty = app.materials["copper"].conductivity

Methods

MatProperty.add_spatial_modifier_dataset(dataset)

Add a spatial modifier to a material property using an existing dataset.

MatProperty.add_spatial_modifier_free_form(formula)

Add a spatial modifier to a material property using a free-form formula.

MatProperty.add_thermal_modifier_closed_form([...])

Add a thermal modifier to a material property using a closed-form formula.

MatProperty.add_thermal_modifier_dataset(dataset)

Add a thermal modifier to a material property using an existing dataset.

MatProperty.add_thermal_modifier_free_form(formula)

Add a thermal modifier to a material property using a free-form formula.

Attributes

MatProperty.data_set

Dataset.

MatProperty.evaluated_value

Evaluated value.

MatProperty.spatialmodifier

Spatial modifier.

MatProperty.thermalmodifier

Thermal modifier.

MatProperty.type

Type of the material property.

MatProperty.unit

Units for a material property value.

MatProperty.value

Value for a material property.