SubdomainBoundingBoxGenerator

Changes the subdomain ID of elements either (XOR) inside or outside the specified box to the specified ID.

Overview

This MeshGenerator takes a user-specified axis aligned box defined in terms of extreme coordinates (lower left and upper right), and changes subdomain IDs of all elements or elements with certain subdomain IDs either inside or outside the box to the specified ID.

Input Parameters

  • block_idSubdomain id to set for inside/outside the bounding box

    C++ Type:unsigned short

    Controllable:No

    Description:Subdomain id to set for inside/outside the bounding box

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

  • 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

  • block_nameSubdomain name to set for inside/outside the bounding box (optional)

    C++ Type:SubdomainName

    Controllable:No

    Description:Subdomain name to set for inside/outside the bounding box (optional)

  • integer_nameElement integer to be assigned (default to subdomain ID)

    C++ Type:std::string

    Controllable:No

    Description:Element integer to be assigned (default to subdomain ID)

  • 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

  • restricted_subdomainsOnly reset subdomain ID for given subdomains within the bounding box

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

    Controllable:No

    Description:Only reset subdomain ID for given subdomains within the bounding box

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

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.

Advanced Parameters