35 static const unsigned int N_EQ;
39 virtual void check()
const override;
60 void addJunctionVariable(
bool is_nonlinear,
const VariableName & var, Real scaling_factor = 1.0);
virtual void addVariables() override
const VariableName _rhoV_var_name
rho*V variable name for junction
static InputParameters validParams()
const VariableName _rhovV_var_name
rho*v*V variable name for junction
const VariableName _temperature_var_name
temperature variable name for junction
const VariableName _rhowV_var_name
rho*w*V variable name for junction
virtual void buildVolumeJunctionUserObject()
Builds user object for computing and storing the fluxes.
const Real & _scaling_factor_rhovV
Scaling factor for rho*v*V.
static const unsigned int N_EQ
Number of equations for the junction.
std::string junctionVariableName(const std::string &var_base) const
Returns the name of junction variable, depending on whether scalar.
void addJunctionIC(const VariableName &var, Real value)
Adds a junction IC to the problem, as a scalar or field variable.
const Real & _scaling_factor_rhoV
Scaling factor for rho*V.
const Real & _scaling_factor_rhouV
Scaling factor for rho*u*V.
const VariableName _velocity_var_name
velocity variable name for junction
VolumeJunction1PhaseIndices
Enumeration for junction variable/equation indices.
virtual void check() const override
Check the component integrity.
virtual void addMooseObjects() override
const Real & _scaling_factor_rhowV
Scaling factor for rho*w*V.
const VariableName _pressure_var_name
pressure variable name for junction
const Real _volume
Volume of the junction.
void addJunctionVariable(bool is_nonlinear, const VariableName &var, Real scaling_factor=1.0)
Adds a junction variable to the problem, as a scalar or field variable.
Junction between 1-phase flow channels that has a non-zero volume.
const Real & _A_ref
Reference area.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for 1-phase flow junctions.
void addVolumeJunctionIC(const VariableName &var, const std::string &quantity)
Adds a VolumeJunctionIC to the problem.
virtual void setupMesh() override
Performs mesh setup such as creating mesh or naming mesh sets.
const Real & _K
Form loss coefficient.
const VariableName _rhouV_var_name
rho*u*V variable name for junction
const Point & _position
Spatial position of center of the junction.
VolumeJunction1Phase(const InputParameters ¶ms)
const VariableName _rhoEV_var_name
rho*E*V variable name for junction
const Real & _scaling_factor_rhoEV
Scaling factor for rho*E*V.