DeleteDamaged
Jump to navigation
Jump to search
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 its velocity and deformation gradient, and then moving it to 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)