https://mooseframework.inl.gov
DetailedPinMeshGeneratorBase.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 
18 {
19 public:
21 
22 protected:
23  void generatePin(std::unique_ptr<MeshBase> & mesh_base, const Point & center);
24 
32  std::vector<Real> _z_grid;
34  const Real _pitch;
38  const unsigned int _n_cells;
40  const unsigned int & _block_id;
42  const unsigned int & _num_radial_parts;
45 
46 public:
48 };
const unsigned int _n_cells
Number of cells in the axial direction.
DetailedPinMeshGeneratorBase(const InputParameters &parameters)
const unsigned int & _num_radial_parts
Number of radial parts.
const Real _unheated_length_entry
unheated length of the fuel Pin at the entry of the assembly
const Real _pitch
Distance between the neighbor fuel pins, pitch.
dof_id_type _elem_id
Counter for element numbering.
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
void generatePin(std::unique_ptr< MeshBase > &mesh_base, const Point &center)
std::vector< Real > _z_grid
axial location of nodes
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Base class for generating fuel pins.
const unsigned int & _block_id
Subdomain ID used for the mesh block.
static const std::string center
Definition: NS.h:28
uint8_t dof_id_type
const Real _pin_diameter
fuel Pin diameter