ansys.mapdl.core.Mapdl.pmgtran#
- Mapdl.pmgtran(fname='', freq='', fcnam1='', fcnam2='', pcnam1='', pcnam2='', ecnam1='', ccnam1='', **kwargs)#
Summarizes electromagnetic results from a transient analysis.
Mechanical APDL Command: PMGTRAN
- Parameters:
- fname
str
File name (8 characters maximum) to which tabular data and plot files will be written. Must be enclosed in single quotes when the command is manually typed in. Defaults to MG_TRNS. The data file extension is
.OUT
and the plot file extension is.PLT
.- freq
str
Frequency of solution output. Defaults to 1. Every
FREQ
th solution on the results file is output.- fcnam1
str
Names of element components for force calculation. Must be enclosed in single quotes when the command is manually typed in.
- fcnam2
str
Names of element components for force calculation. Must be enclosed in single quotes when the command is manually typed in.
- pcnam1
str
Names of element components for power loss calculation. Must be enclosed in single quotes when the command is manually typed in.
- pcnam2
str
Names of element components for power loss calculation. Must be enclosed in single quotes when the command is manually typed in.
- ecnam1
str
Names of element components for energy and total current calculations, respectively. Must be enclosed in single quotes when the command is manually typed in.
- ccnam1
str
Names of element components for energy and total current calculations, respectively. Must be enclosed in single quotes when the command is manually typed in.
- fname
Notes
pmgtran invokes a Mechanical APDL macro which calculates and summarizes electromagnetic results from a transient analysis. The results are summarized by element components and listed on the screen as well as written to a file (
Fname.OUT
).You can select two components for the summary of electromagnetic forces, two for power loss, and one each for stored energy (see senergy ) and total current (see curr2d ). See the referenced commands for other restrictions.
pmgtran is restricted to MKSA units.