ansys.mapdl.core.Mapdl.trtime#
- Mapdl.trtime(time='', spacing='', offset='', size='', length='', **kwargs)#
Defines the options used for the pltrac (charged particle trace) command.
Mechanical APDL Command: TRTIME
- Parameters:
- time
str
Total Trace Time (seconds) (defaults to 0, which is the full particle trace).
- spacing
str
Particle spacing in seconds (defaults to 0).
- offset
str
Particle offset in seconds (defaults to 0). It is used internally in the anflow macro to produce an animation of charged particle motion in an electric or magnetic field.
- size
str
Particle size (defaults to 0, which is a line).
- length
str
Particle length fraction (defaults to.1).
- time
Notes
The trtime command varies the type of pltrac display produced. Charged particle traces follow a particle’s path in the forward and backward direction of travel. The DOF selected determines the color of the particle trace.
SPACING
defines the particle spacing in seconds from adjacent particles in the stream line.OFFSET
defines the offset in seconds from the spacing set by theSPACING
argument.LENGTH
defines the particle length fraction. The default value (.1), means the particle occupies 10% of the trace region, and the other 90% is a color-coded line.SIZE
sets the radius of the particle. UseSPACING
,OFFSET
andLENGTH
only whenSIZE
is nonzero (that is, the particle is bigger than the line).