assign_flux_tangential#
- Maxwell3d.assign_flux_tangential(assignment, flux_name=None)[source]#
Assign a flux tangential boundary for a transient A-Phi solver.
- Parameters:
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object if successful,
False
otherwise.
References
>>> oModule.AssignFluxTangential
Examples
Create a box and assign a flux tangential boundary to one of its faces.
>>> from ansys.aedt.core import Maxwell3d >>> m3d = Maxwell3d() >>> box = m3d.modeler.create_box([50, 0, 50],[294, 294, 19],name="Box") >>> flux_tangential = m3d.assign_flux_tangential(box.faces[0],"FluxExample") >>> m3d.release_desktop(True, True)