19 params.
addClassDescription(
"Computes cross-sectional area for inter-wrapper cells in a square " 20 "lattice subchannel arrangement");
38 auto assembly_area = side_x * side_y;
46 auto side_avg = (side_x + side_y) / 2.0;
47 return side_avg * gap;
52 auto side_avg = (side_x + side_y) / 2.0;
53 return standard_area * 0.25 + side_avg * gap;
virtual const Real & getSideX() const
Return side lengths of the assembly.
virtual EChannelType getSubchannelType(unsigned int index) const override
Return the type of the inter-wrapper for given inter-wrapper index.
static const std::string assembly_pitch
This class calculates the cross-sectional flow area of the quadrilateral subchannel.
virtual const Real & getPitch() const override
Return the pitch between 2 inter-wrappers.
virtual const Real & getSideY() const
unsigned int getSubchannelIndexFromPoint(const Point &p) const override
Return a inter-wrapper index for a given physical point p
QuadInterWrapperFlowAreaIC(const InputParameters ¶ms)
static InputParameters validParams()
const QuadInterWrapperMesh & _mesh
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real value(const Point &p)
static InputParameters validParams()
registerMooseObject("SubChannelApp", QuadInterWrapperFlowAreaIC)
An abstract class for ICs for quadrilateral subchannels.