26 {
27 const std::string fp_steam_name = "fp_steam";
28 const std::string fp_nitrogen_name = "fp_nitrogen";
29 const std::string fp_mix_name = "fp_mix";
30
31
32 {
33 const std::string class_name = "IdealGasFluidProperties";
35 params.
set<
Real>(
"gamma") = 1.43;
36 params.
set<
Real>(
"molar_mass") = 0.01801488;
37 params.
set<
Real>(
"e_ref") = 2030e3;
38 params.
set<
Real>(
"mu") = 0.000013277592;
39 params.
set<
Real>(
"k") = 0.026824977826;
40 _fe_problem->addUserObject(class_name, fp_steam_name, params);
42 }
43
44
45 {
46 const std::string class_name = "IdealGasFluidProperties";
48 params.
set<
Real>(
"gamma") = 1.4;
49 params.
set<
Real>(
"molar_mass") = 0.028012734746133888;
50 params.
set<
Real>(
"e_ref") = 1500e3;
51 params.
set<
Real>(
"mu") = 0.0000222084;
52 params.
set<
Real>(
"k") = 0.032806168;
53 _fe_problem->addUserObject(class_name, fp_nitrogen_name, params);
55 }
56
57
58 {
59 const std::string class_name = "IdealGasMixtureFluidProperties";
61 params.
set<std::vector<UserObjectName>>(
"component_fluid_properties") = {fp_steam_name,
62 fp_nitrogen_name};
63 _fe_problem->addUserObject(class_name, fp_mix_name, params);
65 }
66 }
InputParameters getValidParams(const std::string &name) const
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
const IdealGasFluidProperties * _fp_nitrogen
const IdealGasMixtureFluidProperties * _fp_mix
const IdealGasFluidProperties * _fp_steam
Class for fluid properties of an ideal gas mixture.
std::shared_ptr< FEProblem > _fe_problem
const T & getUserObject(const std::string ¶m_name, bool is_dependency=true) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real