Difference between revisions of "Material Point Reservoir"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== Introduction == | == Introduction == | ||
Simulations in NairnMPM are currently limited to a fixed number of particles. To | Simulations in NairnMPM are currently limited to a fixed number of particles. To allow for simulations options to delete particles or inject particles, the code implements a reservoir of material points. This reservoir is current only implement in [[OSParticulas]] but will be moved to NairnMPM soon and will be then be documented further. | ||
== Deleting Particles == | == Deleting Particles == |
Revision as of 11:50, 22 July 2021
Introduction
Simulations in NairnMPM are currently limited to a fixed number of particles. To allow for simulations options to delete particles or inject particles, the code implements a reservoir of material points. This reservoir is current only implement in OSParticulas but will be moved to NairnMPM soon and will be then be documented further.
Deleting Particles
Any feature that deletes particles, moves those particle into the reservoir. The current options to delete particles are
- LeaveLimit Command - if this command's (maxNum) parameter is negative, particle that leave the grid are deleted from the simulation.
- DeleteLimit Command - if this command's (maxNum) parameter is greater than 1, particles that develop nan are deleted from the simulation.
- DeleteDamaged Custom Task - this tasks can delete damaged particles after decohesion.
- JWLPlusPlus Material - this material has an option to delete gas particles a sufficient distance from the ignition site.
Injecting Particles
Currently, the only options for injecting particles are in Custom Tasks. The only built-in custom tasks that deletes particles is:
- FluidSource Custom Task - to inject liquid particles at a specified rate and at a specified location.
User-written custom tasks can also inject particles and more documentation on writing such tasks will be provided soon.