SideSetsAroundSubdomainGenerator

Adds element faces that are on the exterior of the given block to the sidesets specified

Overview

By default, SideSetsAroundSubdomainGenerator creates a sideset (with ID defined by the user) around an associated block ID. Multiple sidesets over multiple blocks can be defined at once.

Optional parameters allow more specific behavior:

  • A normal vector can be defined (using normal) such that only faces whose outward facing normal is equivalent (or within a specified tolerance normal_tol) is added to the sideset.

  • replace is a boolean parameter that sets whether any old sidesets should be replaced or preserved (default is preservation).

  • fixed_normal is a boolean parameter inherited from SideSetsGeneratorBase that sets whether a sideset defined on a qualifying face is to be "painted" onto adjacent faces (default = False). This allows sidesets for slightly curved boundaries to be more easily defined. Fixing the normal (setting fixed_normal = True) disables this behavior.

Input Parameters

  • blockThe blocks around which to create sidesets

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

    Controllable:No

    Description:The blocks around which to create sidesets

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

  • new_boundaryThe list of boundary IDs to create on the supplied subdomain

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

    Controllable:No

    Description:The list of boundary IDs to create on the supplied subdomain

Required Parameters

  • external_onlyFalseOnly apply the sideset to external boundaries

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Only apply the sideset to external boundaries

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

    Default:False

    C++ Type:bool

    Controllable:No

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

  • normalIf supplied, only faces with normal equal to this, up to normal_tol, will be added to the sidesets specified

    C++ Type:libMesh::Point

    Controllable:No

    Description:If supplied, only faces with normal equal to this, up to normal_tol, will be added to the sidesets specified

  • normal_tol0.1If normal is supplied then faces are only added if face_normal.normal_hat >= 1 - normal_tol, where normal_hat = normal/|normal|

    Default:0.1

    C++ Type:double

    Controllable:No

    Description:If normal is supplied then faces are only added if face_normal.normal_hat >= 1 - normal_tol, where normal_hat = normal/|normal|

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

    Default:False

    C++ Type:bool

    Controllable:No

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

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

    Default:0.1

    C++ Type:double

    Controllable:No

    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>

    Controllable:No

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

  • 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