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.

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 an HFSS design is open and a Solution Setup has been performed, the following predefined named expressions are available. Transient solution types display transient expressions (with _t):


Expression Name

Expression Definition

Mag_E

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

Mag_E_t Mag(Smooth(<E_tx,E_ty,Etz>)). Used with Transient projects.

Mag_H

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

Mag_H_t Mag(Smooth(<Hx,Hy,Hz>). Used with Transient projects.

Mag_Jvol

Mag(AtPhase(Smooth(<JVx,JVy,JVz>),Phase))

Mag_Jsurf

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

Mag_Jsurf_t Mag(<Jsurf_tx,Jsurf_ty,Jsruf_tz>). Used with Transient projects.

ComplexMag_E

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

ComplexMag_H

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

ComplexMag_Jvol

Mag(CmplxMag(Smooth(<JVx,JVy,JVz>))

ComplexMag_Jsurf

Mag(CmplxMag(Smooth(<Jsurfx,Jsurfy,Jsurfz>))

Vector_E

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

Vector_E_t (Smooth(<E_tx,E_ty,E_tz>). Used in Transient projects.

Vector_H

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

Vector_H_t (Smooth(<H_tx,H_ty,H_tz>). Used in Transient projects.

Vector_Jvol

AtPhase(Smooth(<JVx,JVy,JVz>),Phase)

Vector_Jsurf

AtPhase(Smooth(<Jsurf_x,Jsurf_y,Jsurf_z>),Phase)

Vector_Jsurf_t (Smooth(<Jsurf_tx,Jsurf_ty,Jsurf_tz>). Used in Transient projects.

Vector_RealPoynting

Real(Poynting)

VectorReal_Poynting_t Poynting_t. Used in Transient projects.

Local_SAR

LocalSAR

Average_SAR

AverageSAR

Surface_Loss_Density

SurfaceLossDensity. See further discussion here.

Volume_Loss_Density

VolumeLossDensity. See further discussion here.

Volume_Loss_Density_t VolumeLossDensity_t. Used in Transient projects.

Surface_Force_Density

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

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.