%EVENT_DeletePoint%

deletion of point event handle

EVENT($EV_Delete$) = ( event_trigger_expression, %EVENT_DeletePoint%, OPTIONAL: MessageCode )
For each MESHFREE point, the event_trigger_expression is evaluated. If it is larger than zero for the considered point, the event is triggered and the point is deleted. The event_trigger_expression is defined by Equations. The (optional) MessageCode is a positive integer or $$-acronym that associates the event with an EventMessage to be printed every time the event is triggered. The current status of a point with respect to this type of event is available in %ind_event_DeletePoint%. Note:
  • If points on and in the vicinity of BoundaryElements (geometry) are deleted at the same time by such an EVENT, try to do it orthogonal to the geometry. Unphysical behavior might be observed otherwise.
  • If surface tension sigma > 0 and thin films are deleted by such an EVENT, the classical free surface boundary condition for the hydrostatic pressure should be replaced by a Dirichlet condition in the vicinity of the EVENT. Without this adaption, the thin films close to the EVENT might swell unphysically. Example:
    ... EVENT($EV_Delete$) = ( [if(Y%ind_x(1)% > 0.5) :: 1.0 else :: 0.0 endif], %EVENT_DeletePoint% ) ... BC_p(0) = ( [if(Y%ind_x(1)% > 0.5-0.1*Y%ind_h%) :: %BND_DIRICH% else :: %BND_free_implicit% endif], [if(Y%ind_x(1)% > 0.5-0.1*Y%ind_h%) :: 0 else :: 0 endif] ) ...