21 MooseEnum wave_speed_formulation(
"einfeldt davis",
"einfeldt");
23 "wave_speed_formulation", wave_speed_formulation,
"Method for computing wave speeds");
25 std::vector<Real> sf_1phase(3, 1.0);
27 "scaling_factor_1phase",
29 "Scaling factors for each single phase variable (rhoA, rhouA, rhoEA)");
45 if (dynamic_cast<const SinglePhaseFluidProperties *>(&
fp) ==
nullptr)
46 logError(
"Supplied fluid properties must be for 1-phase fluids.");
52 return "FlowModelSinglePhase";
55 std::vector<std::string>
58 return {
"initial_p",
"initial_T",
"initial_vel"};
virtual void checkFluidProperties() const override
Logs an error if the fluid properties is not valid.
T & getUserObject(const std::string &name, unsigned int tid=0) const
FlowChannel1Phase(const InputParameters ¶ms)
THMProblem & getTHMProblem() const
Gets the THM problem.
registerMooseObject("ThermalHydraulicsApp", FlowChannel1Phase)
void logError(Args &&... args) const
Logs an error.
Single-component, single-phase flow channel.
virtual std::string flowModelClassName() const override
Returns the flow model class name.
const UserObjectName & _fp_name
Name of fluid properties user object.
static InputParameters validParams()
static InputParameters validParams()
virtual std::vector< std::string > ICParameters() const override
Returns the names of the IC parameters.
Base class for single-phase flow channels.