assign_openings

Icepak.assign_openings(air_faces)[source]

Assign openings to a list of faces.

Parameters
air_faceslist

List of face names.

Returns
pyaedt.modules.Boundary.BoundaryObject

Boundary object when successful or None when failed.

References

>>> oModule.AssignOpeningBoundary

Examples

Create an opening boundary for the faces of the "USB_GND" object.

>>> faces = icepak.modeler.primitives["USB_GND"].faces
>>> face_names = [face.id for face in faces]
>>> boundary = icepak.assign_openings(face_names)
pyaedt info: Face List boundary_faces created
pyaedt info: Opening Assigned