set_core_losses#
- Maxwell2d.set_core_losses(objects, value=False)[source]#
Whether to enable core losses for a set of objects.
For
EddyCurrent
andTransient
solver designs, core losses calulcations may be included in the simulation on any object that has a corresponding core loss definition (with core loss coefficient settings) in the material library.- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.SetCoreLoss
Examples
Set core losses in Maxwell 3D.
>>> from pyaedt import Maxwell3d >>> maxwell_3d = Maxwell3d() >>> maxwell_3d.set_core_losses(["PQ_Core_Bottom", "PQ_Core_Top"], True)