19 params.
addClassDescription(
"Computes inlet mass flow rate BCs, from specified mass flux and " 20 "cross-sectional area and applies blocked inlet conditions");
23 "unblocked_mass_flux",
"Specified mass flux for unblocked subchannels [kg/s-m^2]");
25 "blocked_mass_flux",
"Specified mass flux for blocked subchannels [kg/s-m^2]]");
27 "index of subchannels affected by blockage");
34 _unblocked_mass_flux(getPostprocessorValue(
"unblocked_mass_flux")),
35 _blocked_mass_flux(getPostprocessorValue(
"blocked_mass_flux")),
36 _area(coupledValue(
"area")),
37 _index_blockage(getParam<
std::vector<unsigned
int>>(
"index_blockage"))
virtual unsigned int getSubchannelIndexFromPoint(const Point &p) const =0
Return a subchannel index for a given physical point p
virtual Real computeValue() override
const PostprocessorValue & _blocked_mass_flux
Specified mass flux of blocked channels.
registerMooseObject("SubChannelApp", SCMBlockedMassFlowRateAux)
const Node *const & _current_node
const SubChannelMesh & _subchannel_mesh
Computes mass flow rate from specified uniform mass flux and cross-sectional area and applies inlet b...
const VariableValue & _area
Cross-sectional area.
const T & getConstMesh(const MooseMesh &mesh)
function to cast const mesh
const std::vector< unsigned int > _index_blockage
index of subchannels affected by blockage
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SCMBlockedMassFlowRateAux(const InputParameters ¶meters)
const PostprocessorValue & _unblocked_mass_flux
Specified mass flux of unblocked channels.
static InputParameters validParams()
Base class for subchannel meshes.
static InputParameters validParams()
void ErrorVector unsigned int