AddAllSideSetsByNormals

This mesh modifier is useful for adding all possible sidesets to a mesh based on unique normal directions. It works well for more regular shapes that don't have curves or many disjoint surfaces with similar normals. If desired however, it is capable of following a slowly changing normal around a surface so that a curve can be assigned a single sideset. This is accomplished by setting fixed_normal to false. In this case a cylinder mesh can be given exactly three normals, one for the two and bottom respectively, and a third normal for the curved surface of the cylinder.

note

The sideset number assignment is not predictable. This utility assigns sideset numbering based on the unique normals seen while iterating over the mesh. Further enhancements could be made to more carefully control this assignment.

!syntax description /MeshModifiers/AddAllSideSetsByNormals

Input Parameters

  • force_prepareFalseNormally all MeshModifiers run before the mesh is prepared for use. This flag can be set on an individual modifier to force preperation between modifiers where they might be needed.

    Default:False

    C++ Type:bool

    Description:Normally all MeshModifiers run before the mesh is prepared for use. This flag can be set on an individual modifier to force preperation between modifiers where they might be needed.

  • depends_onThe MeshModifiers that this modifier relies upon (i.e. must execute before this one)

    C++ Type:std::vector

    Description:The MeshModifiers that this modifier relies upon (i.e. must execute before this one)

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

    Default:False

    C++ Type:bool

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

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

    Default:0.1

    C++ Type:double

    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

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Description:Set the enabled status of the MooseObject.

Advanced Parameters