assign_balloon#
- Maxwell2d.assign_balloon(assignment, boundary=None)#
Assign a balloon boundary to a list of edges.
- Parameters:
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object. If the method fails to execute it returns
False
.
References
>>> oModule.AssignBalloon
Examples
Set balloon boundary condition in Maxwell 2D.
>>> from ansys.aedt.core import Maxwell2d >>> m2d = Maxwell2d() >>> region_id = m2d.modeler.create_region() >>> region_edges = region_id.edges >>> m2d.assign_balloon(edge_list=region_edges)