22 virtual std::unique_ptr<MeshBase>
generate()
override;
29 void generatePin(std::unique_ptr<MeshBase> & mesh_base,
const Point & center);
46 const unsigned int _nx;
48 const unsigned int _ny;
EChannelType
Enum for describing the center, edge and corner subchannels or gap types.
const InputParameters & parameters() const
Mesh generator that builds a detailed 3D mesh representing quadrilateral subchannels and pins.
std::vector< std::vector< Real > > _subchannel_position
x,y coordinates of the subchannel centroids
const Real _unheated_length_entry
unheated length of the fuel Pin at the entry of the assembly
const Real _heated_length
heated length of the fuel Pin
const unsigned int _nx
Number of subchannels in the x direction.
const Real _pitch
Distance between the neighbor fuel pins, pitch.
const Real _side_gap
The side gap, not to be confused with the gap between pins, this refers to the gap next to the duct o...
unsigned int _n_channels
Total number of subchannels.
static InputParameters validParams()
virtual std::unique_ptr< MeshBase > generate() override
EChannelType getSubchannelType(unsigned int index) const
returns the type of the subchannel given the index
const unsigned int _num_sectors
Number of azimuthal sectors used to discretize each circular pin cross section.
const unsigned int _ny
Number of subchannels in the y direction.
void generatePin(std::unique_ptr< MeshBase > &mesh_base, const Point ¢er)
Generate one detailed fuel pin volume centered at the supplied point.
std::vector< Real > _z_grid
axial location of nodes
const unsigned int _n_cells
Number of cells in the axial direction.
const Real _pin_diameter
fuel Pin diameter
dof_id_type _elem_id
Counter for element numbering.
const unsigned int _subchannel_block_id
Subchannel subdomain ID.
std::vector< EChannelType > _subch_type
Subchannel type.
const unsigned int _pin_block_id
Pin subdomain ID.
const Real _unheated_length_exit
unheated length of the fuel Pin at the exit of the assembly