ReactorMeshParams

This ReactorMeshParams object acts as storage for persistent information about the reactor geometry.

Overview

The ReactorMeshParams object stores persistent mesh information about a reactor's geometry for use with PinMeshGenerator, AssemblyMeshGenerator, and CoreMeshGenerator. This is where the geometry type ("geom" as 'Square' or 'Hex' for cartesian and hexagonal definitions respectively) and the number of dimensions of the mesh ("dim" either 2 for 2D or 3 for 3D) is declared and persistently enforced for the rest of the mesh definition. If the mesh is to be 3-dimensional, this is also where the axial information is declared ("axial_regions" and "axial_mesh_intervals"). In addition, the global option to automatically set block names for the output mesh based on the region IDs of the mesh can be selected in this mesh generator, by setting ("region_id_as_block_name" to true. More information about this parameter can be found in the block naming sections of PinMeshGenerator, AssemblyMeshGenerator, and CoreMeshGenerator. In order to enable flexible assembly stitching between AssemblyMeshGenerator objects that do not share the same number of nodes at the outer assembly interface, "flexible_assembly_stitching" can be set to true, and the number of sectors that are created at the flexible assembly boundary interface is controlled by ("num_sectors_at_flexible_boundary". More information about flexible assembly stitching can be found in CoreMeshGenerator.

Metadata Information

The ReactorMeshParams object stores certain global mesh information as metadata, which can be queried from subsequent RGMB-based mesh generators. A list of metadata that is generated at the pin, assembly, and core levels can be found at PinMeshGenerator, AssemblyMeshGenerator, and CoreMeshGenerator, respectively, while the following metadata can be queried by passing in the name of the ReactorMeshParams mesh generator, which is stored at each RGMB mesh generation level with the metadata name reactor_params_name:

Example Syntax

[Mesh]
  [rmp]
    type = ReactorMeshParams
    dim = 2
    geom = "Square"
    assembly_pitch = 7.10315
  []
[]
(contrib/moose/modules/reactor/test/tests/meshgenerators/pin_mesh_generator/pin_square.i)

Input Parameters

  • assembly_pitchCenter to center distance of assemblies

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Center to center distance of assemblies

  • dim2The dimension of the mesh to be generated

    Default:2

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:2, 3

    Controllable:No

    Description:The dimension of the mesh to be generated

  • geomSquareThe geometry type of the reactor mesh

    Default:Square

    C++ Type:MooseEnum

    Unit:(no unit assumed)

    Options:Square, Hex

    Controllable:No

    Description:The geometry type of the reactor mesh

Required Parameters

  • axial_mesh_intervalsNumber of elements in the Z direction for each axial region

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Number of elements in the Z direction for each axial region

  • axial_regionsLength of each axial region

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Length of each axial region

  • bottom_boundary_idThe boundary ID to set on bottom boundary of the extruded mesh

    C++ Type:short

    Unit:(no unit assumed)

    Controllable:No

    Description:The boundary ID to set on bottom boundary of the extruded mesh

  • flexible_assembly_stitchingFalseUse FlexiblePatternGenerator for stitching dissimilar assemblies together

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Use FlexiblePatternGenerator for stitching dissimilar assemblies together

  • num_sectors_at_flexible_boundary6Number of sectors to use at assembly boundary interface when flexible patterning is used (Defaults to 6)

    Default:6

    C++ Type:unsigned int

    Unit:(no unit assumed)

    Controllable:No

    Description:Number of sectors to use at assembly boundary interface when flexible patterning is used (Defaults to 6)

  • radial_boundary_idThe boundary ID to set on the outer radial boundary of a CoreMeshGenerator object

    C++ Type:short

    Unit:(no unit assumed)

    Controllable:No

    Description:The boundary ID to set on the outer radial boundary of a CoreMeshGenerator object

  • region_id_as_block_nameFalseSet block names based on region id

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set block names based on region id

  • top_boundary_idThe boundary ID to set on top boundary of the extruded mesh

    C++ Type:short

    Unit:(no unit assumed)

    Controllable:No

    Description:The boundary ID to set on top boundary of the extruded mesh

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    Controllable:No

    Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)

Debugging Parameters