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...")
 
Line 2: Line 2:
__TOC__
__TOC__
== Introduction ==
== 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).
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 its velocity and deformation gradient, and then moving it to location (store_x,store_y).





Revision as of 18:02, 6 November 2017

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)


Material Support