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