Material#

class ansys.aedt.core.modules.material.Material(materiallib, name, props=None, material_update=True)#

Manages material properties.

Parameters:
materiallibansys.aedt.core.modules.material_lib.Materials

Inherited parent object.

namestr

Name of the material.

props

The default is None.

material_updatebool, optional

The default is True.

Examples

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

Methods

Material.get_core_loss_coefficients(...[, ...])

Get electrical steel or power ferrite core loss coefficients at a given frequency.

Material.get_curve_coreloss_type()

Return the curve core loss type assigned to material.

Material.get_curve_coreloss_values()

Return the curve core values type assigned to material.

Material.get_magnetic_coercivity()

Get the magnetic coercivity values.

Material.is_conductor([threshold])

Check if the material is a conductor.

Material.is_dielectric([threshold])

Check if the material is dielectric.

Material.set_bp_curve_coreloss(points[, ...])

Set B-P Type Core Loss.

Material.set_coreloss_at_frequency(...[, ...])

Set electrical steel or power ferrite core loss model at one single frequency or at multiple frequencies.

Material.set_djordjevic_sarkar_model([dk, ...])

Set Djordjevic-Sarkar model.

Material.set_electrical_steel_coreloss([kh, ...])

Set electrical steel core loss.

Material.set_hysteresis_coreloss([kdc, hci, ...])

Set Hysteresis Type Core Loss.

Material.set_magnetic_coercivity([value, x, ...])

Set magnetic coercivity for material.

Material.set_power_ferrite_coreloss([cm, x, ...])

Set Power Ferrite Type Core Loss.

Material.update()

Update the material in AEDT.

Attributes

Material.conductivity

Conductivity.

Material.coordinate_system

Material coordinate system.

Material.dielectric_loss_tangent

Dielectric loss tangent.

Material.diffusivity

Diffusivity.

Material.is_used

Checks if a project material is in use.

Material.magnetic_coercivity

Magnetic coercivity.

Material.magnetic_loss_tangent

Magnetic loss tangent.

Material.mass_density

Mass density.

Material.material_appearance

Material appearance specified as a list where the first three items are RGB color and the fourth one is transparency.

Material.molecular_mass

Molecular mass.

Material.permeability

Permeability.

Material.permittivity

Permittivity.

Material.poissons_ratio

Poisson's ratio.

Material.specific_heat

Specific heat.

Material.stacking_direction

Stacking direction for the lamination can either be "V(1)", "V(2)" or "V(3)".

Material.stacking_factor

Stacking factor for lamination.

Material.stacking_type

Composition of the wire can either be "Solid", "Lamination" or "Litz Wire".

Material.strand_number

Strand number for litz wire.

Material.thermal_conductivity

Thermal conductivity.

Material.thermal_expansion_coefficient

Thermal expansion coefficient.

Material.viscosity

Viscosity.

Material.wire_diameter

Diameter of the round litz wire.

Material.wire_thickness

Thickness of rectangular litz wire.

Material.wire_thickness_direction

Thickness direction of the wire can either be "V(1)", "V(2)" or "V(3)".

Material.wire_type

The type of the wire can either be "Round", "Square" or "Rectangular".

Material.wire_width

Width of the rectangular or square litz wire.

Material.wire_width_direction

Width direction of the wire can either be "V(1)", "V(2)" or "V(3)".

Material.youngs_modulus

Young's modulus.