Difference between revisions of "DeleteLimit Command"

From OSUPDOCS
Jump to navigation Jump to search
(Created page with "The <tt>DeleteLimit</tt> command determines how an MPM analysis responds when a particle gets a nan value: == Use DeleteLimit == In scripted files, the command is DeleteL...")
 
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
where <tt>(maxNum)</tt> is the number of particles with nan values that are tolerated before an analysis is stopped. Particles that get a nan value are deleted from the simulation and the simulation will continue. If <tt>(maxNum)</tt> particles get nan values, the simulation will stop.
where <tt>(maxNum)</tt> is the number of particles with nan values that are tolerated before an analysis is stopped. Particles that get a nan value are deleted from the simulation and the simulation will continue. If <tt>(maxNum)</tt> particles get nan values, the simulation will stop.


If this command is omitted, the default is zero or the simulation will stop if any partitle gets a nan value.
If this command is omitted, the default is zero or the simulation will stop if any particles gets a nan value.


</p>== Notes ==
== Notes ==


<ol>
<ol>


<li>Particles that are deleted are moved to the lower-left corner of the grid. That corner element needs to be empty and away from other particles.</li>
<li>Particles that are deleted are moved into the [[Material Point Reservoir]].</li>


<li>If <code>(maxNum)</code> is greater than 1 and the analysis eventually finishes, the output file will include a warning when the first particle gets a nan value and will count of the number of steps that had at least one new particle with a nan value.</li>
<li>If <code>(maxNum)</code> is greater than 1 and the analysis eventually finishes, the output file will include a warning when the first particle gets a nan value and will count of the number of steps that had at least one new particle with a nan value.</li>


</ol>
</ol>

Latest revision as of 11:42, 22 July 2021

The DeleteLimit command determines how an MPM analysis responds when a particle gets a nan value:

Use DeleteLimit

In scripted files, the command is

DeleteLimit (maxNum)

In XML input files, the command, which must be within the <MPMHeader> element, is

<DeleteLimit>(maxNum)</LeaveLimit>

where (maxNum) is the number of particles with nan values that are tolerated before an analysis is stopped. Particles that get a nan value are deleted from the simulation and the simulation will continue. If (maxNum) particles get nan values, the simulation will stop.

If this command is omitted, the default is zero or the simulation will stop if any particles gets a nan value.

Notes

  1. Particles that are deleted are moved into the Material Point Reservoir.
  2. If (maxNum) is greater than 1 and the analysis eventually finishes, the output file will include a warning when the first particle gets a nan value and will count of the number of steps that had at least one new particle with a nan value.