19 "Class that computes the axial friction factor using the MATRA correlation.");
25 _is_quad_lattice(dynamic_cast<const
QuadSubChannelMesh *>(&_subchannel_mesh) != nullptr),
37 ": This closure model applies only for assemblies with bare fuel pins in a square " 44 auto Re = friction_args.
Re;
51 else if (
Re >= 1 and
Re < 5000)
57 else if (
Re >= 5000 and
Re < 30000)
62 else if (
Re >= 30000 and
Re < 1000000)
69 flagInvalidSolution(
"MATRA correlation out of range");
static InputParameters validParams()
Base class for friction closures used in SCM.
Creates the mesh of subchannels in a quadrilateral lattice.
structure with the needed information to compute the friction factor at a specific subchannel cell ...
Class that calculates the friction factor based on the MATRA correlation (Numerical study of void dri...
const std::string & name() const
SCMFrictionMATRA(const InputParameters ¶meters)
bool _is_quad_lattice
Keep track of the lattice type.
Real computeQuadLatticeFrictionFactor(const FrictionStruct &friction_info) const
virtual Real computeFrictionFactor(const FrictionStruct &friction_info) const override
Computes the friction factor for the local conditions.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("SubChannelApp", SCMFrictionMATRA)
static InputParameters validParams()
void mooseError(Args &&... args) const
MooseUnits pow(const MooseUnits &, int)