SideSetsFromBoundingBoxGenerator

Defines new sidesets using currently-defined sideset IDs inside or outside of a bounding box.

Overview

This MeshGenerator can be used in two ways:

  • To define a new sideset on multiple boundaries (default) - provide multiple boundary names or IDs, and all nodes existing on each provided boundary within the bounding box (or outside if location = OUTSIDE) will be assigned the new boundary name/ID.

  • To define a new sideset only on overlapping boundaries (boundary_id_overlap = True) - provide multiple boundary names or IDs, and all nodes within the bounding box (or outside if location = OUTSIDE) that are currently assigned to ALL of the listed boundary names/IDs will be assigned the new boundary name/ID.

Input Parameters

  • bottom_leftThe bottom left point (in x,y,z with spaces in-between).

    C++ Type:libMesh::VectorValue<double>

    Controllable:No

    Description:The bottom left point (in x,y,z with spaces in-between).

  • boundary_newBoundary on specified block within the bounding box to assign

    C++ Type:BoundaryName

    Controllable:No

    Description:Boundary on specified block within the bounding box to assign

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

  • top_rightThe bottom left point (in x,y,z with spaces in-between).

    C++ Type:libMesh::VectorValue<double>

    Controllable:No

    Description:The bottom left point (in x,y,z with spaces in-between).

Required Parameters

  • boundary_id_overlapFalseSet to true if boundaries need to overlap on sideset to be detected.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Set to true if boundaries need to overlap on sideset to be detected.

  • locationINSIDEControl of where the subdomain id is to be set

    Default:INSIDE

    C++ Type:MooseEnum

    Options:INSIDE, OUTSIDE

    Controllable:No

    Description:Control of where the subdomain id is to be set

  • 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.

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

  • include_only_external_sidesFalseWhether to only include external sides when considering sides to add to the sideset

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to only include external sides when considering sides to add to the sideset

  • included_boundariesA set of boundary names or ids whose sides will be included in the new sidesets

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

    Controllable:No

    Description:A set of boundary names or ids whose sides will be included in the new sidesets

  • included_neighborsA set of neighboring subdomain names or ids. A face is only added if the subdomain id of the neighbor is in this set

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

    Controllable:No

    Description:A set of neighboring subdomain names or ids. A face is only added if the subdomain id of the neighbor is in this set

  • included_subdomainsA set of subdomain names or ids whose sides will be included in the new sidesets

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

    Controllable:No

    Description:A set of subdomain names or ids whose sides will be included in the new sidesets

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

    Default:0 0 0

    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|

Sideset Restrictions 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

Input Files