15 BlockedMassFlowRateAux,
23 params.
addClassDescription(
"Computes inlet mass flow rate BCs, from specified mass flux and " 24 "cross-sectional area and applies blocked inlet conditions");
27 "unblocked_mass_flux",
"Specified mass flux for unblocked subchannels [kg/s-m^2]");
29 "blocked_mass_flux",
"Specified mass flux for blocked subchannels [kg/s-m^2]]");
31 "index of subchannels affected by blockage");
38 _unblocked_mass_flux(getPostprocessorValue(
"unblocked_mass_flux")),
39 _blocked_mass_flux(getPostprocessorValue(
"blocked_mass_flux")),
40 _area(coupledValue(
"area")),
41 _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...
registerMooseObjectRenamed("SubChannelApp", BlockedMassFlowRateAux, "06/30/2025 24:00", SCMBlockedMassFlowRateAux)
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