assign_radiation#

Maxwell2d.assign_radiation(assignment, radiation=None)#

Assign radiation boundary to one or more objects.

Radiation assignment can be calculated based upon the solver type. Available solution type is: Eddy Current.

Parameters:
assignmentstr, list

One or more objects to assign the radiation to.

radiationstr, optional

Name of the force. The default is None, in which case the default name is used.

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

Radiation objects. If the method fails to execute it returns False.

References

>>> oModule.Radiation

Examples

Assign radiation boundary to one box and one face:

>>> from ansys.aedt.core import Maxwell3d
>>> m3d = Maxwell3d()
>>> box1 = m3d.modeler.create_box([0, 0, 0],[2, 10, 10])
>>> box2 = m3d.modeler.create_box([10, 0, 0],[2, 10, 10])
>>> m3d.assign_radiation([box1, box2.faces[0]])
>>> m3d.release_desktop(True, True)