assign_zero_tangential_h_field#

Maxwell3d.assign_zero_tangential_h_field(assignment, boundary=None)#

Assign a zero tangential H field boundary to a list of faces.

Parameters:
assignmentlist of int or ansys.aedt.core.modeler.cad.object_3d.Object3d

List of objects to assign an end connection to.

boundarystr, optional

Name of the end connection boundary. The default is None, in which case the default name is used.

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

Newly created object. False if it fails.

References

>>> oModule.AssignZeroTangentialHField

Examples

Create a box and assign a zero tangential H field boundary to one of its faces.

>>> from ansys.aedt.core import Maxwell3d
>>> m3d = Maxwell3d(solution_type="EddyCurrent")
>>> box = m3d.modeler.create_box(origin=[0, 0, 0], sizes=[10, 10, 10])
>>> m3d.assign_zero_tangential_h_field(box.top_face_z)
>>> m3d.release_desktop(True, True)