BreakMeshByElementGenerator

Break all element-element interfaces in the specified subdomains.

Overview

The BreakMeshByElementGenerator is used to break all element-element interfaces in specified subdomains. All element-element interfaces are grouped into a boundary of user's choice.

Example input syntax

In this example input file, we break all element-element interfaces in subdomains 1 and 2.

[Mesh]
  [gmg]
    type = GeneratedMeshGenerator
    dim = 2
    xmax = 2
    ymax = 2
    nx = 4
    ny = 4
  []
  [add_subdomain_1]
    type = SubdomainBoundingBoxGenerator
    input = gmg
    block_id = 1
    bottom_left = '1 0 0'
    top_right = '2 1 0'
  []
  [add_subdomain_2]
    type = SubdomainBoundingBoxGenerator
    input = add_subdomain_1
    block_id = 2
    bottom_left = '1 1 0'
    top_right = '2 2 0'
  []
  [add_subdomain_3]
    type = SubdomainBoundingBoxGenerator
    input = add_subdomain_2
    block_id = 3
    bottom_left = '0 1 0'
    top_right = '1 2 0'
  []
  [explode]
    type = BreakMeshByElementGenerator
    input = add_subdomain_3
    subdomains = '1 2'
    interface_name = czm
  []
[]
(moose/test/tests/meshgenerators/explode_mesh_generator/2D.i)

Input Parameters

  • inputThe mesh we want to modify

    C++ Type:MeshGeneratorName

    Controllable:No

    Description:The mesh we want to modify

  • interface_nameThe boundary name containing all broken element-element interfaces.

    C++ Type:BoundaryName

    Controllable:No

    Description:The boundary name containing all broken element-element interfaces.

Required Parameters

  • subdomainsThe list of subdomain IDs to explode.

    C++ Type:std::vector<unsigned short>

    Controllable:No

    Description:The list of subdomain IDs to explode.

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