- assembly_pitchCenter-to-center distance between neighboring assembly positions [m]
C++ Type:Real
Unit:(no unit assumed)
Range:assembly_pitch>0
Controllable:No
Description:Center-to-center distance between neighboring assembly positions [m]
- inputsThe SCMTriAssemblyMeshGenerator, SCMTriDuctMeshGenerator, or SCMTriVisualizationAssemblyMeshGenerator meshes that can be placed in the core
C++ Type:std::vector<MeshGeneratorName>
Controllable:No
Description:The SCMTriAssemblyMeshGenerator, SCMTriDuctMeshGenerator, or SCMTriVisualizationAssemblyMeshGenerator meshes that can be placed in the core
- patternHexagonal core pattern of indices into 'inputs', using the row syntax of PatternedHexMeshGenerator; -1 marks an empty position. Row i is placed as the i-th column from -x, and the entries of a row are placed from -y to +y.
C++ Type:std::vector<std::vector<int>>
Controllable:No
Description:Hexagonal core pattern of indices into 'inputs', using the row syntax of PatternedHexMeshGenerator; -1 marks an empty position. Row i is placed as the i-th column from -x, and the entries of a row are placed from -y to +y.
SCMTriCoreMeshGenerator
Places triangular-lattice subchannel assembly meshes on a hexagonal core lattice. Each assembly keeps its own subdomains and boundaries; assemblies are not connected.
Overview
This mesh generator places triangular-lattice subchannel assemblies on a hexagonal core lattice and merges them into one mesh. The assemblies are not connected: there are no inter-assembly gaps and no crossflow between assemblies. SCMQuadCoreMeshGenerator is the square-lattice counterpart.
Each entry of "inputs" is an SCMTriAssemblyMeshGenerator or an SCMTriDuctMeshGenerator for a 1D subchannel core mesh, or an SCMTriVisualizationAssemblyMeshGenerator for a 3D visualization core mesh. In a 3D visualization assembly mesh, each subchannel and pin is meshed in 3D with prism elements. Such a mesh is used only to visualize results: the SCM solution is computed on the 1D mesh and copied onto the 3D mesh with SCMSolutionTransfer, as in the single-assembly example examples/MultiApp/fuel_assembly.i. A 3D visualization core built with the same pattern and pitch as a 1D core places each 3D assembly over the 1D assembly with the same index.
Each assembly is generated centered at the origin and is translated so that its center lies on its lattice position. The inputs may differ in size and number of pins, as long as no two placed assemblies overlap. The overlap check is exact for the hexagonal ducts, and ducts that exactly touch are allowed. The duct of an assembly is the hexagon of its flat_to_flat size whether or not an SCMTriDuctMeshGenerator builds a duct mesh for it, so the check applies equally to assemblies with and without a duct mesh.
"pattern" uses the row syntax of PatternedHexMeshGenerator: each entry is an index into "inputs", and -1 marks an empty position. Subchannel assemblies have a duct corner on the axis, so each pattern row is placed as a column of assemblies. Row is the -th column from , and the entries of a row are placed from to . Neighboring positions are "assembly_pitch" apart.
Placed assemblies are numbered in pattern order, skipping empty positions. Every subdomain and boundary of assembly receives a new id and has _k appended to its name, for example subchannel_0, fuel_pins_0, inlet_0, and outlet_0. Every element of assembly also stores in the assembly_id extra element integer.
Because the subdomains are renamed, the auxiliary variables that SCM adds automatically on the subchannel and fuel_pins subdomains (see SCMAuxVariables) are not defined on a core mesh. Variables restricted to subdomains must list the renamed subdomains.
Each subchannel assembly and duct mesh generator stores the subchannel connectivity in a single mesh object, so the subchannel solvers cannot use the core mesh yet. A core of those inputs can only be generated with --mesh-only. A 3D visualization core has no such restriction.
Example Input File Syntax
[TriSubChannelMesh]
[large]
type = SCMTriAssemblyMeshGenerator
nrings = 3
n_cells = 2
flat_to_flat = 0.6
heated_length = 1.0
pin_diameter = 0.1
pitch = 0.13
dwire = 0.03
hwire = 0.3
[]
[large_duct]
type = SCMTriDuctMeshGenerator
input = large
nrings = 3
n_cells = 2
flat_to_flat = 0.6
heated_length = 1.0
pitch = 0.13
[]
[small]
type = SCMTriAssemblyMeshGenerator
nrings = 2
n_cells = 2
flat_to_flat = 0.4
heated_length = 1.0
pin_diameter = 0.1
pitch = 0.13
dwire = 0.03
hwire = 0.3
[]
[small_duct]
type = SCMTriDuctMeshGenerator
input = small
nrings = 2
n_cells = 2
flat_to_flat = 0.4
heated_length = 1.0
pitch = 0.13
[]
[core]
type = SCMTriCoreMeshGenerator
inputs = 'large_duct small_duct'
# Neighboring 0.6 m and 0.4 m ducts touch at a 0.5 m pitch; 0.52 m leaves a 0.02 m gap
assembly_pitch = 0.52
pattern = '1 1;
1 0 1;
1 1'
[]
[](modules/subchannel/test/tests/mesh/tri_core/core.i)Input 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)