Main Help → All Commands → MPM Analysis Header → LeaveLimit
The LeaveLimit
command determines how an MPM analysis responds when a particle leaves the grid:
LeaveLimit (maxNum)
where |(maxNum)|
is the number of particles leaving the grid that are tolerated before an analysis is stopped. If (maxNum)
is positive, a particle that leaves the grid will be moved back into the grid. If (maxNum)
is negative, particles that leave the grid will be deleted from the simulation. If |(maxNum)|
particles leave the grid, the simulation will stop.
If this command is omitted, the default is positive and set to 1% of the particles. Setting (maxNum)
to 1 will cause a simulation to stop if any particle leaves the grid.
(maxNum)
is greater than 1 and the analysis eventually finishes, the output file will include a warning when the first particle left left the grid and a count of the number of steps that had at least one new particle leaving the grid.LeaveLimit
command is only allowed for MPM analyses.