DeleteElementsNearMeshGenerator

Removes elements lying "near" another mesh. The proximity is examined by the distance from the element's centroid to the faces of elements of the "proximity_mesh"

Implementation details

The proximity of an element to the "proximity_mesh" is computed as follows. If the element centroid (computed as an average of the element vertex positions) or any of its nodes is inside the proximity mesh as reported by its point locator, then the distance is zero and the element is always deleted. Else, we use heuristics to determine the distance.

A side Gauss quadrature is created on all the element external sides of the proximity_mesh. The quadrature points from this quadrature are gathered into a K-nearest neighbor object.

Then this KNN object provides the distance from the proximity_mesh to the element by computing the distance to the element centroid and to the element nodes. If any are below the specified distance, the element is deleted.

Input Parameters

  • distanceThe distance from the centroid of elements in the 'input' mesh to elements in the 'proximity_mesh' under which they are marked for deletion

    C++ Type:double

    Unit:(no unit assumed)

    Range:distance>0

    Controllable:No

    Description:The distance from the centroid of elements in the 'input' mesh to elements in the 'proximity_mesh' under which they are marked for deletion

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

  • proximity_meshMesh providing the deletion criterion

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:Mesh providing the deletion criterion

Required Parameters

  • delete_exteriorsTrueWhether to delete lower-d elements whose interior parents are deleted

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Whether to delete lower-d elements whose interior parents are deleted

  • new_boundaryoptional boundary name to assign to the cut surface

    C++ Type:BoundaryName

    Controllable:No

    Description:optional boundary name to assign to the cut surface

  • side_orderAUTOOrder of the face quadrature used to find the nearest face in the 'proximity_mesh'. Default is CONSTANT

    Default:AUTO

    C++ Type:MooseEnum

    Options:AUTO, CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINTEENTH, TWENTIETH

    Controllable:No

    Description:Order of the face quadrature used to find the nearest face in the 'proximity_mesh'. Default is CONSTANT

Optional Parameters

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

  • save_with_nameKeep the mesh from this mesh generator in memory with the name specified

    C++ Type:std::string

    Controllable:No

    Description:Keep the mesh from this mesh generator in memory with the name specified

Advanced Parameters

  • nemesisFalseWhether or not to output the mesh file in the nemesisformat (only if output = true)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to output the mesh file in the nemesisformat (only if output = true)

  • outputFalseWhether or not to output the mesh file after generating the mesh

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to output the mesh file after generating the mesh

  • show_infoFalseWhether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

Debugging Parameters