Chapter 10: Electric and Magnetic Macros

Electric and magnetic macros help you to prepare models and examine the results of a magnetic field analysis. The following macros are available:

You can find more information about the macros in the Command Reference and in the Mechanical APDL Theory Reference.

The following table shows where you can apply electric and magnetic macros:

Table 10.1:  Application of Electric and Magnetic Macros

Magnetic Macros PREP 7 Sol POST 1 POST 26 MVP Dom MSP Dom 2-D Pla- nar 2-D Axi- sym 3-D Edge Form Static Harm Trans Elec- tro- stat
CMATRIX YY----YYY----Y
CURR2D --Y-Y-YYY-YYY-
EMAGERR --Y-YYYYYYYYY-
EMF[1]- -Y-------- Y-Y
EMFT[1]- -Y- ----YYY- -Y
EMTGEN Y-----YYY-YYYY
FLUXV -- Y-Y-YYY-YYY-
MAGSOLV YY- -YYYYYYY-Y-
MMF -- Y-YYYYYYYYY-
PERBC2D Y---Y-Y---YYY-
PLF2D -- Y-Y-YY-- YYY-
PMGTRAN -- -YYYYYYY--Y-
POWERH -- Y-Y-YYYY-Y- -
RACE Y----Y- -Y-Y---
SENERGY -- Y-YYYYY-YYY-

  1. Macros also apply to electrostatic field problems.


Release 18.2 - © ANSYS, Inc. All rights reserved.