Calculating Derived Field Quantities Using Named Expressions

The Named Expressions panel displays expressions that can be included in register definitions by name. You can add additional expressions to the Named expression list by creating the expression in the register display area and then clicking the Add button. This lets you add to the Named expression library.

Named Expressions groupbox.

Click on a named expression to select it. When a named expression has been selected, the Copy to Stack button is activated. Click Copy to Stack to push the expression on the top of the stack.

When a Maxwell design is open and a solution setup has been analyzed, numerous predefined named expressions may be available depending upon the solution type. Generally, predefined expressions related to electric or magnetic field magnitude, current magnitude, vector field values, energy, and losses are available. As an example, the table below shows the expressions available for a 3D AC Magnetic solution.


 

Expression Definition

Mag_H

Mag(AtPhase(Smooth(<Hx,Hy,Hz>),Phase))

Mag_B

Mag(AtPhase(Smooth(<Bx,By,Bz>),Phase))

Mag_J

Mag(AtPhase(Smooth(<Jx,Jy,Jz>),Phase))

Mag_Jsurf

Mag(AtPhase(<Jsurfx,Jsurfy,Jsurfz>,Phase))

Mag_E

Mag(AtPhase(Smooth(<Ex,Ey,Ez>),Phase))

Mag_D

Mag(AtPhase(Smooth(<Dx,Dy,Dz>),Phase))

ComplexMag_H

Mag(Smooth(<Hx,Hy,Hz>))

ComplexMag_B

Mag(Smooth(<Bx,By,Bz>))

ComplexMag_J

Mag(Smooth(<Jx,Jy,Jz>))

ComplexMag_Jsurf

Mag(<Jsurfx,Jsurfy,Jsurfz>)

ComplexMag_E

Mag(Smooth(<Ex,Ey,Ez>))

ComplexMag_D

Mag(Smooth(<Dx,Dy,Dz>))

Vector_H

AtPhase(Smooth(<Hx,Hy,Hz>),Phase)

Vector_B

AtPhase(Smooth(<Bx,By,Bz>),Phase)

Vector_J

AtPhase(Smooth(<Jx,Jy,Jz>),Phase)

Vector_Jsurf

AtPhase(<Jsurfx,Jsurfy,Jsurfz>,Phase)

Vector_E

AtPhase(Smooth(<Ex,Ey,Ez>),Phase)

Vector_D

AtPhase(Smooth(<Ex,Ey,Ez>),Phase)

Energy

Smooth(<energy>)

Ohmic_Loss

Smooth(Ohmic-Loss)

Hysteresis_Loss

Smooth(Hysteresis-Loss)

Dielectric_Loss

Smooth(Dielectric-Loss)

Core_Loss

Smooth(Core-Loss)

EM_Loss

Smooth(EM-Loss)

Surface_Loss_Density

SurfaceLossDensity. See further discussion here.

Temperature

Smooth(Temp)

Volume_Force_Density

<VolumeForceDensityx, VolumeForceDensityy, VolumeForceDensityz>

Surface_Force_Density

<SurfaceForceDensityx, SurfaceForceDensityy, SurfaceForceDensityz>

Surface Forces exist when one side is conductor, but the other is not, or with finite conductivity and layered impedance boundary. This is mainly for the purpose of mapping surface force density in Maxwell to Workbench Mechanical. For details on the calculations, see the technical notes.

Volume_AC_Force_Density

AtPhase(<VolumeACForceDensityx, VolumeACForceDensityy, VolumeACForceDensityz>, Phase)

Surface_AC_Force_Density

AtPhase(<SurfaceACForceDensityx, SurfaceACForceDensityy, SurfaceACForceDensityz>, Phase)

Volume_Max_Force_Density

<VolumeMaxForceDensityx, VolumeMaxForceDensityy, VolumeMaxForceDensityz>

Note that Volume_Max_Force_Density is the volume DC force density x (1 + peak of Volume AC force density / length of DC volume force density).

Surface_Max_Force_Density

<SurfaceMaxForceDensityx, SurfaceMaxForceDensityy, SurfaceMaxForceDensityz>

Mag_Displacement

Mag(Smooth(<Ux,Uy,Uz>)). Magnitude of displacement, used with Workbench in projects exploring stress feedback.

Displacement_Vector

Smooth(<Ux,Uy,Uz>). Used with Workbench in projects exploring stress feedback.