19 EXPECT_EQ(_fp->fluidName(),
"LiF-NaF-KF");
27 const Real tol = REL_TOL_SAVED_VALUE;
28 const Real very_large_tol = 1e-5;
29 const std::vector<Real> pressures = {1e5, 1e6, 5e6};
30 const std::vector<Real> temperatures = {800, 1000, 1200};
34 const std::vector<Real> rho_refs = {2079.8, 1955, 1830.2};
35 const std::vector<Real> h_refs = {116487.252639201, 503071.221504012, 932163.345918835};
36 const std::vector<Real> k_refs = {0.69, 0.95, 1.21};
37 const std::vector<Real> cp_refs = {1826.64945544902, 2039.19023319908, 2251.73101094914};
38 const std::vector<Real> mu_refs = {0.00664316439747037, 0.00230674718872007, 0.00141416472507015};
43 const Real p = pressures[i];
44 const Real T = temperatures[i];
45 const Real h = _fp->h_from_p_T(p, T);
48 REL_TEST(_fp->rho_from_p_T(p, T), rho_refs[i],
tol);
51 REL_TEST(_fp->h_from_p_T(p, T), h_refs[i],
tol);
54 REL_TEST(_fp->e_from_p_T(p, T), h_refs[i] - pressures[i] / rho_refs[i],
tol);
58 REL_TEST(_fp->T_from_p_h(p, h), T, very_large_tol);
61 REL_TEST(_fp->k_from_p_T(p, T), k_refs[i],
tol);
64 REL_TEST(_fp->cp_from_p_T(p, T), cp_refs[i],
tol);
67 REL_TEST(_fp->mu_from_p_T(p, T), mu_refs[i],
tol);
77 const Real tol = REL_TOL_DERIVATIVE;
79 const Real p = 30.0e6;
82 DERIV_TEST(_fp->rho_from_p_T, p, T,
tol);
83 DERIV_TEST(_fp->h_from_p_T, p, T,
tol);
84 DERIV_TEST(_fp->e_from_p_T, p, T,
tol);
85 DERIV_TEST(_fp->cp_from_p_T, p, T,
tol);
86 DERIV_TEST(_fp->mu_from_p_T, p, T, 100 *
tol);
87 DERIV_TEST(_fp->k_from_p_T, p, T,
tol);
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
IntRange< T > make_range(T beg, T end)
TEST_F(SalineMoltenSaltFluidPropertiesTest, fluidName)
Test that the fluid name is correctly returned.