https://mooseframework.inl.gov
SCMQuadPinMeshGenerator.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"
15 
20 {
21 public:
23  std::unique_ptr<MeshBase> generate() override;
24 
25 protected:
27  std::unique_ptr<MeshBase> & _input;
35  std::vector<Real> _z_grid;
37  const Real _pitch;
39  const unsigned int _nx;
41  const unsigned int _ny;
43  const unsigned int _n_cells;
45  std::vector<std::vector<Node *>> _pin_nodes;
47  const unsigned int _block_id;
48 
49 public:
51 };
const unsigned int _n_cells
number of axial cells
const Real _heated_length
heated length of the fuel Pin
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 _block_id
block index
std::unique_ptr< MeshBase > & _input
Mesh that comes from another generator.
SCMQuadPinMeshGenerator(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _ny
number of subchannels in the y direction
static InputParameters validParams()
std::vector< Real > _z_grid
axial location of nodes
const InputParameters & parameters() const
std::unique_ptr< MeshBase > generate() override
const unsigned int _nx
number of subchannels in the x direction
const Real _pitch
Distance between the neighbor fuel pins, pitch.
Class to create Pin mesh in the square lattice geometry.
const Real _unheated_length_entry
unheated length of the fuel Pin at the entry of the assembly