assign_impedance#

Maxwell3d.assign_impedance(assignment, material_name=None, permeability=0.0, conductivity=None, non_linear_permeability=False, impedance=None)[source]#

Create an impedance boundary condition for Transient or Eddy Current solvers.

This boundary condition is used to simulate the effect of induced currents in a conductor without explicitly computing them.

Parameters:
assignmentstr

Faces or objects to apply the impedance boundary to.

material_namestr, optional

Material name. The default is None. If other than None, material properties values are extracted from the named material in the list of materials available. The default value is None.

permeabilityfloat, optional

Permeability of the material.The default value is 0.0.

conductivityfloat, optional

Conductivity of the material. The default value is None.

non_linear_permeabilitybool, optional

If the option material_name is activated, the permeability can either be linear or not. The default value is False.

impedancestr, optional

Name of the impedance. The default is None, in which case a unique name is assigned.

Returns:
ansys.aedt.core.modules.boundary.BoundaryObject

Boundary object if successful, False otherwise.

References

>>> oModule.AssignImpedance

Examples

Create a box and assign impedance boundary to the faces.

>>> from ansys.aedt.core import Maxwell3d
>>> m3d = Maxwell3d()
>>> shield = m3d.modeler.create_box([-50, -50, -50],[294, 294, 19],name="shield")
>>> shield_faces = m3d.modeler.select_allfaces_fromobjects(["shield"])
>>> impedance_assignment = m3d.assign_impedance(assignment=shield_faces,impedance="ShieldImpedance")
>>> m3d.release_desktop(True, True)