https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ReactorMeshParams.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MeshGenerator.h"
13#include "MooseEnum.h"
14
19{
20public:
22
24
25 std::unique_ptr<MeshBase> generate() override;
26
27 std::unique_ptr<CSG::CSGBase> generateCSG() override;
28
29 void generateData() override {};
30
31protected:
34
37
39 const Real _assembly_pitch;
40
42 std::vector<Real> _axial_regions;
43
45 std::vector<unsigned int> _axial_mesh_intervals;
46
48 boundary_id_type _top_boundary;
49
51 boundary_id_type _bottom_boundary;
52
54 boundary_id_type _radial_boundary;
55};
const InputParameters & parameters() const
A class to store mesh information that is globally applicable to a reactor.
boundary_id_type _top_boundary
Boundary id assigned to top boundary of extruded mesh.
static InputParameters validParams()
std::vector< Real > _axial_regions
The heights of the axial regions.
std::unique_ptr< CSG::CSGBase > generateCSG() override
std::vector< unsigned int > _axial_mesh_intervals
The number of mesh divisions in each axial region.
std::unique_ptr< MeshBase > generate() override
const Real _assembly_pitch
The the flat-to-flat size of assemblies in the reactor.
void generateData() override
boundary_id_type _bottom_boundary
Boundary id assigned to bottom boundary of extruded mesh.
boundary_id_type _radial_boundary
Boundary id assigned to outer radial boundary of core mesh.
const MooseEnum _geom
The geometry type for the reactor.
const MooseEnum _dim
The number of dimension in the mesh.