20 params.
addParam<FunctionName>(
"initial_mass_fraction",
21 "Initial mass fraction of the secondary gas");
25 "scaling_factor_xirhoA", 1.0,
"Scaling factor for the secondary component mass equation");
26 params.
addParam<Real>(
"scaling_factor_rhoA", 1.0,
"Scaling factor for the mixture mass equation");
27 params.
addParam<Real>(
"scaling_factor_rhouA", 1.0,
"Scaling factor for the momentum equation");
28 params.
addParam<Real>(
"scaling_factor_rhoEA", 1.0,
"Scaling factor for the energy equation");
30 "scaling_factor_xirhoA scaling_factor_rhoA scaling_factor_rhouA scaling_factor_rhoEA",
47 logError(
"The supplied fluid properties object must be of type "
48 "'VaporMixtureFluidProperties'.");
54 return "FlowModelGasMix";
57std::vector<std::string>
60 return {
"initial_p",
"initial_T",
"initial_vel",
"initial_mass_fraction"};
registerMooseObject("ThermalHydraulicsApp", FlowChannelGasMix)
void logError(Args &&... args) const
Logs an error.
THMProblem & getTHMProblem() const
Gets the THM problem.
T & getUserObject(const std::string &name, unsigned int tid=0) const
Base class for single-phase flow channels.
static InputParameters validParams()
const UserObjectName & _fp_name
Name of fluid properties user object.
Flow channel containing a mixture of two gases.
virtual std::vector< std::string > ICParameters() const override
Returns the names of the IC parameters.
FlowChannelGasMix(const InputParameters ¶ms)
static InputParameters validParams()
virtual void checkFluidProperties() const override
Logs an error if the fluid properties is not valid.
virtual std::string flowModelClassName() const override
Returns the flow model class name.
Base class for fluid properties of vapor mixtures.