https://mooseframework.inl.gov
SCMTriPinMeshGenerator.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 "libmesh/point.h"
14 
19 {
20 public:
22  std::unique_ptr<MeshBase> generate() override;
23 
24 protected:
26  std::unique_ptr<MeshBase> & _input;
34  std::vector<Real> _z_grid;
36  const Real _pitch;
38  const unsigned int _n_rings;
40  const unsigned int _n_cells;
42  std::vector<std::vector<Node *>> _pin_nodes;
44  const unsigned int _block_id;
46  std::vector<Point> _pin_position;
47 
48 public:
50 };
std::vector< Real > _z_grid
axial location of nodes
SCMTriPinMeshGenerator(const InputParameters &parameters)
std::unique_ptr< MeshBase > generate() override
std::vector< Point > _pin_position
x-y positions of the fuel pins
const Real _unheated_length_entry
unheated length of the fuel Pin at the entry of the assembly
std::unique_ptr< MeshBase > & _input
Mesh that comes from another generator.
const unsigned int _n_cells
number of axial cells
const Real _unheated_length_exit
unheated length of the fuel Pin at the exit of the assembly
std::vector< std::vector< Node * > > _pin_nodes
Pin nodes.
const unsigned int _n_rings
number of subchannels in the x direction
const unsigned int _block_id
block index
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Class to create Pin mesh in the square lattice geometry.
static InputParameters validParams()
const InputParameters & parameters() const
const Real _pitch
Distance between the neighbor fuel pins, pitch.
const Real _heated_length
heated length of the fuel Pin