assign_resistive_sheet#
- Maxwell3d.assign_resistive_sheet(assignment, resistance='1ohm', name=None, non_linear=False, anode_a='300000000', anode_b='5', anode_c='110000000000000', anode_d='2', cathode_a='300000000', cathode_b='10', cathode_c='110000000000000', cathode_d='2')#
Assign a resistive sheet boundary between two conductors.
Available for Maxwell 3D Magnetostatic, Eddy Current and Transient designs. For 3D Magnetostatic designs, the user can specify the nonlinear anode and cathode coefficients. To understand the nonlinear relationship used by AEDT between the conductivity and current density, please refer to Maxwell Help guide.
- Parameters:
- assignment
listofintoransys.aedt.core.modeler.cad.object_3d.Object3d List of objects to assign an end connection to.
- resistance
str,optional Resistance value with unit. For 3D Magnetostatic designs if non_linear is
True, it is not available. The default is1ohm.- name
str,optional Name of the boundary. The default is
None, in which case the default name is used.- non_linear: bool, optional
Whether the boundary is non-linear. The default is
False. Valid for 3D Magnetostatic designs only.- anode_a
str,optional Anode a value that corresponds to the a coefficient in the non-linear relationship between conductivity and current density. The default value is
"300000000".- anode_b
str,optional Anode b value that corresponds to the b coefficient in the non-linear relationship between conductivity and current density. The default value is
"10".- anode_c
str,optional Anode c value that corresponds to the c coefficient in the non-linear relationship between conductivity and current density. The default value is
"110000000000000".- anode_d
str,optional Anode d value that corresponds to the d coefficient in the non-linear relationship between conductivity and current density. The default value is
"2".- cathode_a
str,optional Cathode a value that corresponds to the a coefficient in the non-linear relationship between conductivity and current density. The default value is
"300000000".- cathode_b
str,optional Cathode b value that corresponds to the b coefficient in the non-linear relationship between conductivity and current density. The default value is
"10".- cathode_c
str,optional Cathode c value that corresponds to the c coefficient in the non-linear relationship between conductivity and current density. The default value is
"110000000000000".- cathode_d
str,optional Cathode d value that corresponds to the d coefficient in the non-linear relationship between conductivity and current density. The default value is
"2".
- assignment
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObjectNewly created object.
Falseif it fails.
References
>>> oModule.AssignResistiveSheet
Examples
>>> import ansys.aedt.core >>> from ansys.aedt.core.generic.constants import SolutionsMaxwell3D >>> m3d = ansys.aedt.core.Maxwell3d(solution_type="Transient") >>> my_box = m3d.modeler.create_box(origin=[0, 0, 0], sizes=[0.4, -1, 0.8], material="copper") >>> resistive_face = my_box.faces[0] >>> bound = m3d.assign_resistive_sheet(assignment=resistive_face, resistance="3ohm") >>> m3d.solution_type = SolutionsMaxwell3D.Magnetostatic >>> bound = m3d.assign_resistive_sheet(assignment=resistive_face, non_linear=True) >>> m3d.desktop_class.close_desktop()