ansys.mapdl.core.Mapdl.anflow#
- Mapdl.anflow(nfram='', delay='', ncycl='', time='', spacing='', size='', length='', **kwargs)#
Produces an animated sequence of a charged particle traveling in an electric or magnetic field.
Mechanical APDL Command: ANFLOW
- Parameters:
- nfram
str
Number of frames captured (defaults to 5).
- delay
str
Time delay during animation (defaults to 0.1 seconds).
- ncycl
str
Number of animation cycles (defaults to 5). Non-UI mode only.
- time
str
Total Trace Time (seconds) (defaults to 0, which is the full flow trace).
- spacing
str
Particle spacing in seconds (defaults to 0).
- size
str
Particle size (defaults to 0, which is a line).
- length
str
Particle length fraction (defaults to.1).
- nfram
Notes
anflow invokes a Mechanical APDL macro which produces an animation of charged particle motion in an electric or magnetic field by the last plot action command (that is, pltrac ). This command is only operational on graphic display platforms supporting the seg command. After executing anflow, you can replay the animated sequence by issuing the anim command. This command is functional only in the Postprocessor.
The
TIME
option lets you set the time interval of forward travel for the trace. TheSPACING
option is used to define the particle spacing in seconds from adjacent particles in the stream line. TheSIZE
variable sets the radius of the particle. TheLENGTH
variable is used to define the particle length fraction. By default, theLENGTH
is set to.1, which means the particle occupies 10% of the trace region and the other 90% is a color-code line. TheSPACING
andLENGTH
variables only make sense when theSIZE
variable is nonzero (that is, the particle is bigger than the line).