SideSetsFromNormalsGenerator

Adds a new named sideset to the mesh for all faces matching the specified normal.

See also: AllSideSetsByNormalsGenerator

commentnote

If the mesh contains multiple disjoint faces with the same normal, they will all be added to the sideset.

commentnote

This will generate internal (within a block) sidesets as well if there are internal faces with the desired normal. For external (on the boundary of a block) only sidesets, use SideSetsAroundSubdomainGenerator with a "normal" parameter.

Input Parameters

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Options:

    Description:The mesh we want to modify

  • new_boundaryThe names of the boundaries to create

    C++ Type:std::vector<BoundaryName>

    Options:

    Description:The names of the boundaries to create

  • normalsA list of normals for which to start painting sidesets

    C++ Type:std::vector<libMesh::Point>

    Options:

    Description:A list of normals for which to start painting sidesets

Required Parameters

  • fixed_normalFalseThis Boolean determines whether we fix our normal or allow it to vary to "paint" around curves

    Default:False

    C++ Type:bool

    Options:

    Description:This Boolean determines whether we fix our normal or allow it to vary to "paint" around curves

  • replaceFalseIf true, replace the old sidesets. If false, the current sidesets (if any) will be preserved.

    Default:False

    C++ Type:bool

    Options:

    Description:If true, replace the old sidesets. If false, the current sidesets (if any) will be preserved.

  • 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

    Options:

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

  • tolerance1e-05Tolerance for comparing the face nornmal

    Default:1e-05

    C++ Type:double

    Options:

    Description:Tolerance for comparing the face nornmal

  • variance0.1The variance [0.0 - 1.0] allowed when comparing normals

    Default:0.1

    C++ Type:double

    Options:

    Description:The variance [0.0 - 1.0] allowed when comparing normals

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Options:

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files