DeleteDamaged
Revision as of 18:01, 6 November 2017 by Chadh (talk | contribs) (Created page with "A custom task to "delete" fully damaged particles. __TOC__ == Introduction == This task loops through all particles of the specified [[isotrop...")
A custom task to "delete" fully damaged particles.
Introduction
This task loops through all particles of the specified 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 DeleteDamaged 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 XML files, this task is scheduled using a <Schedule> element, which must be within the single <CustomTasks> 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:
- material - The ID of material to check for damage.
- store_x - Location on grid to put "deleted" particle
- store_y - Location on grid to put "deleted" particle
Optional
- direction - Failure plane to consider. dn = 1, dxy = 2, dxz = 3, any = 4. (defaults to 4)