63{
64
65
66
69 const Real tol_H2O = 5e-2;
70 struct Reference
71 {
73 std::string species_i;
74 std::string species_j;
76 };
77 const std::vector<Reference> references = {{300.0, "N2", "O2", 2.114004397958847e-05},
78 {300.0, "H2", "N2", 7.892785088901448e-05},
79 {300.0, "CH4", "CO2", 1.7394895936669404e-05},
80 {300.0, "H2", "CO", 7.818547081111362e-05},
81 {300.0, "CO", "CO2", 1.58357230065214e-05},
82 {300.0, "H2O", "N2", 2.2961566123205863e-05},
83 {300.0, "H2O", "H2", 8.662561051685164e-05},
84 {1000.0, "N2", "O2", 0.00016508453019480936},
85 {1000.0, "H2", "N2", 0.0005928256767875003},
86 {1000.0, "CH4", "CO2", 0.00014842228814550512},
87 {1000.0, "H2", "CO", 0.0005873361123312881},
88 {1000.0, "CO", "CO2", 0.00013074964295438555},
89 {1000.0, "H2O", "N2", 0.0002111137941842763},
90 {1000.0, "H2O", "H2", 0.000727354808885168},
91 {2500.0, "N2", "O2", 0.0007553835721572624},
92 {2500.0, "H2", "N2", 0.0027020824913847425},
93 {2500.0, "CH4", "CO2", 0.0006888837584287778},
94 {2500.0, "H2", "CO", 0.002677091367171154},
95 {2500.0, "CO", "CO2", 0.0006031661492209093}};
96
97 for (const auto & ref : references)
98 {
101 ref.T,
102 molarMass(ref.species_i),
103 molarMass(ref.species_j),
106 REL_TEST(D, ref.D, ref.species_i ==
"H2O" ? tol_H2O :
tol);
107 }
108}
CppType binaryDiffusionCoefficient(const CppType &p, const CppType &T, const Real molar_mass_i, const Real molar_mass_j, const LennardJonesParameters &lj_i, const LennardJonesParameters &lj_j)
Chapman-Enskog binary diffusion coefficient of a dilute gas pair [m^2/s], with the Lorentz-Berthelot ...
const LennardJonesParameters & lennardJonesParameters(const std::string &name)
Lennard-Jones parameters of a built-in species.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real