assign_radiation#
- Maxwell3d.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:
- 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")