RenumberBySubdomainGenerator

Changes the element and node IDs so that elements and nodes are contiguous within a subdomain. Note that DoF ordering may be affected as well, and that the mesh renumbering will be turned off.

commentnote

Because nodes are shared between multiple subdomains at internal boundaries between in the mesh, the node numbering will in general only be contiguous for nodes that are inside the subdomain, away from these boundaries.

warningwarning

Renumbering elements and nodes will prevent using Exodus restart capabilities as well as using the "direct" parameter of the SolutionAux, as they both rely on the source file mesh having the same numbering as the current mesh.

commentnote

The current implementation only guarantees contiguous numbering of elements in each subdomain if all subdomains are being renumbered.

Input Parameters

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

Required Parameters

  • blocks_to_renumberElements and nodes within these blocks will be renumbered. If none are specified, all subdomains are affected by the renumbering

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

    Controllable:No

    Description:Elements and nodes within these blocks will be renumbered. If none are specified, all subdomains are affected by the renumbering

Optional Parameters

  • 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