Difference between revisions of "DeleteDamaged"

From OSUPDOCS
Jump to navigation Jump to search
(Created page with "A custom task to "delete" fully damaged particles. __TOC__ == Introduction == This task loops through all particles of the specified [[isotrop...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
A [[MPM Input Files#Custom Tasks|custom task]] to "delete" fully damaged particles.
  {{db-author}}
__TOC__
== Introduction ==
This task loops through all particles of the specified [[isotropic softening material|Isotropic Softening Material]] and checks the damage (history3, history4, history5). If the material point is fully damaged, it "deletes" the particle by resetting is velocity and deformation gradient and putting at location (store_x,store_y).
 
 
== Task Scheduling ==
 
In scripted files, a <tt>DeleteDamaged</tt> custom task is scheduled using
 
  CustomTask DeleteDamaged
Parameter material,(matID)
Parameter store_x,(number)
Parameter store_y, (number)
Parameter direction, (1,2,3, or 4)
 
 
In <tt>XML</tt> files, this task is scheduled using a <tt><Schedule></tt> element, which must be within the single <tt><CustomTasks></tt> block:
 
<Schedule name='DeleteDamaged'>
  <Parameter name='material'>(matID)</Parameter>
  <Parameter name='store_x'>()</Parameter>
  <Parameter name='store_y'>(number)</Parameter>
  <Parameter name='direction'>(int)</Parameter>
</Schedule>
 
 
where the parameters are:
 
* <tt>material</tt> - The ID of material to check for damage.
* <tt>store_x</tt> - Location on grid to put "deleted" particle
* <tt>store_y</tt> - Location on grid to put "deleted" particle
Optional
* <tt>direction</tt> - Failure plane to consider. dn = 1, dxy = 2, dxz = 3, any = 4. (defaults to 4)
 
 
 
== Material Support ==
 
 
* [[Isotropic Softening Material|Isotropic Softening Material]]

Latest revision as of 13:19, 6 March 2018