assign_impedance#
- Maxwell3d.assign_impedance(geometry_selection, material_name=None, permeability=0.0, conductivity=None, non_linear_permeability=False, impedance_name=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:
- geometry_selection
str
Objects to apply the impedance boundary to.
- material_name
str
,optional
If it is different from
None
, then material properties values will be extracted from the named material in the list of materials available. The default value isNone
.- permeability
float
,optional
Permeability of the material.The default value is
0.0
.- conductivity
float
,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 isFalse
.- impedance_name
str
,optional
Name of the impedance. The default is
None
in which case a unique name is chosen.
- geometry_selection
- Returns:
pyaedt.modules.Boundary.BoundaryObject
Boundary object if successful,
False
otherwise.
References
>>> oModule.AssignImpedance
Examples
Create a box and assign impedance boundary to it.
>>> impedance_box = self.aedtapp.modeler.create_box([-50, -50, -50], [294, 294, 19], name="impedance_box") >>> impedance_assignment = self.aedtapp.assign_impedance(impedance_box.name, "InsulatingExample") >>> type(impedance_assignment) <class 'pyaedt.modules.Boundary.BoundaryObject'>