RefineSidesetGenerator

Mesh generator which refines one or more sidesets

Overview

This MeshGenerator object allows the user to refine one or more boundaries in a mesh, as well as neighboring elements of the boundary/boundaries.

The user has to provide the name(s) of the boundary/boundaries to be modified, as well as the corresponding levels of refinement for each boundary. These must match up to the order of the aforementioned boundary name list, e.g. if the boundaries you wish to modify are 'left right', with 1 refinement for left, 2 for right, then the refinement list will need to look like '1 2'. By default, refinement in libMesh refines neighboring boundaries to avoid meshing problems. This generator shares this default, but it can be disabled with setting "enable_neighbor_refinement" to false. Additionally, the user must provide the type of refinement to perform in "boundary_side" where "primary" merely refines the elements on the boundary, "secondary" only refines the neighbors of the boundary, and "both" refines both the elements on the boundary and its neighboring elements.

Input Parameters

  • boundariesThe list of boundaries to be modified

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

    Controllable:No

    Description:The list of boundaries to be modified

  • inputInput mesh to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:Input mesh to modify

  • refinementThe amount of times to refine each sideset, corresponding to their index in 'boundaries'

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

    Controllable:No

    Description:The amount of times to refine each sideset, corresponding to their index in 'boundaries'

Required Parameters

  • boundary_sidebothWhether the generator should refine itself(primary), its neighbors(secondary), or itself and its neighbors(both)

    Default:both

    C++ Type:MultiMooseEnum

    Options:primary, secondary, both

    Controllable:No

    Description:Whether the generator should refine itself(primary), its neighbors(secondary), or itself and its neighbors(both)

  • enable_neighbor_refinementTrueToggles whether neighboring level one elements should be refined or not. Defaults to true. False may lead to unsupported mesh non-conformality without great care.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Toggles whether neighboring level one elements should be refined or not. Defaults to true. False may lead to unsupported mesh non-conformality without great care.

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