How to plot fields in multiple objects in Maxwell2D models

Be sure to select all desired objects even if the largest object encloses others.

It is often desired to plot fields within objects in a Maxwell2D rotational or translational symmetry model. In these models, all objects are 2D or sheet objects which represent geometry which is rotated around or translated along the Z axis.

In Maxwell2D, selecting a sheet object which encloses other smaller objects does not plot the field solution inside the smaller objects. As an example, we can use the 2D rotational symmetry actuator magnetostatic model that comes pre-installed in the Maxwell Examples folder.

When the Region object is selected for use in the B-field magnitude plot, the field is only plotted in the areas of the region that do not overlap with other model objects as shown in the image below:

In order to show the fields in all of the objects, we simply select all of the desired objects before plotting the field. In the actuator example, selecting all of the copper, steel, and vacuum objects produces the desired plot as shown in the image below:

Another common method used in plotting fields in Maxwell2D is to select the coordinate system plane, but be aware that this will not confine the plotted field to a local group of objects. In the actuator example, selecting the Global Coordinate system XZ plane produces the following plot, which automatically mirrors the geometry and plotted fields to model the full structure.