Generating an Animation on Multiple Planes with a Positional Variable
Description
This recipe generates animated field output in which each frame is a snapshot of the fields on a different plane of the modeled volume. Any derived field quantity could be plotted in this manner, but this example will simply use the E-field magnitude at zero degrees input excitation.
Usage Examples
This calculation permits you to generate animated output results in addition to those automatically available from the post-processor. For example, peak E field (E dot E conjugate) could be plotted at multiple planes in sequence.
Prerequisites
This operation will only work in the global coordinate system if you are using X, Y, or Z positions as the animation variable.
Calculator Operation |
Resulting Stack Display (top entry only unless noted) |
Quantity>E |
CVc : <Ex, Ey, Ez> |
Smooth |
CVc : Smooth(<Ex,Ey,Ez>) |
Number>Scalar>”0” |
Scl : 0 |
Complex>AtPhase |
Vec : AtPhase(Smooth(<Ex,Ey,Ez>,.. |
Mag |
Scl : Mag(AtPhase(Smooth(<Ex,... |
Add Type: E_mag0 OK |
E_mag0 : Dot(AtPhase(<Ex,Ey,Ez>,0),…
|
Done |
{exit field calculator window} |
Planes>Global:YZ |
(YZ plane that can vary with X position) |
HFSS>Fields>Plot Fields>Named Expression (E_mag0) |
(Plot named expression on YZ plane) |
HFSS>Fields>Plot Animate>New |
{launches Animation Plot Settings} |
Swept variable OK |
{displays animation} |