assign_symmetry#

Maxwell2d.assign_symmetry(assignment, symmetry_name=None, is_odd=True)[source]#

Assign symmetry boundary.

This boundary condition defines a plane of geometric or magnetic symmetry in a structure. Assign it only to the outer surfaces of the problem region.

Parameters:
assignmentlist

List IDs or pyaedt.modeler.Object3d.EdgePrimitive or pyaedt.modeler.Object3d.FacePrimitive.

symmetry_namestr, optional

Name of the symmetry.

is_oddbool, optional

Type of the symmetry. The default is True`,` in which case the H field is tangential to the boundary. If ``False, the H field is normal to the boundary.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.AssignSymmetry