assign_radiation#

Maxwell2d.assign_radiation(input_object, radiation_name=None)[source]#

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:
input_objectstr, list

One or more objects to assign the radiation to.

radiation_namestr, optional

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

Returns:
pyaedt.modules.Boundary.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:

>>> 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]], force_name="radiation_boundary")