23 ABS_TEST(_fp->molarMass(), 22.989769E-3, REL_TOL_SAVED_VALUE);
33 const Real p = 101325;
36 REL_TEST(_fp->k_from_p_T(p, T), 66.9752096, REL_TOL_SAVED_VALUE);
37 DERIV_TEST(_fp->k_from_p_T, p, T, REL_TOL_DERIVATIVE);
46 const Real p = 101325;
49 REL_TEST(_fp->mu_from_p_T(p, T), 0.00022907910937500003, REL_TOL_SAVED_VALUE);
50 DERIV_TEST(_fp->mu_from_p_T, p, T, REL_TOL_DERIVATIVE);
58 const Real T1 = 400.0;
59 const Real T2 = 800.0;
60 const Real p = 101325;
63 REL_TEST(_fp->cp_from_p_T(p, T1), 1383.985792, REL_TOL_SAVED_VALUE);
64 DERIV_TEST(_fp->cp_from_p_T, p, T1, REL_TOL_DERIVATIVE);
67 REL_TEST(_fp->cp_from_p_T(p, T2), 1260.719872, REL_TOL_SAVED_VALUE);
68 DERIV_TEST(_fp->cp_from_p_T, p, T2, REL_TOL_DERIVATIVE);
76 const Real T1 = 400.0;
77 const Real T2 = 800.0;
78 const Real p = 101325;
81 REL_TEST(_fp->cv_from_p_T(p, T1), 1222.9660159999999, REL_TOL_SAVED_VALUE);
82 DERIV_TEST(_fp->cv_from_p_T, p, T1, REL_TOL_DERIVATIVE);
85 REL_TEST(_fp->cv_from_p_T(p, T2), 986.2385279999999, REL_TOL_SAVED_VALUE);
86 DERIV_TEST(_fp->cv_from_p_T, p, T2, REL_TOL_DERIVATIVE);
94 const Real Tm = 370.98;
96 const Real Tb = 1156.5;
97 const Real p = 101325;
100 ABS_TEST(_fp->rho_from_p_T(p, Tm), 923.3571594322216, REL_TOL_SAVED_VALUE);
101 DERIV_TEST(_fp->rho_from_p_T, p, Tm, REL_TOL_DERIVATIVE);
102 ABS_TEST(_fp->v_from_p_T(p, Tm), 0.001083004544649772, REL_TOL_SAVED_VALUE);
103 DERIV_TEST(_fp->v_from_p_T, p, Tm, REL_TOL_DERIVATIVE);
106 ABS_TEST(_fp->rho_from_p_T(p, T), 826.04056, REL_TOL_SAVED_VALUE);
107 DERIV_TEST(_fp->rho_from_p_T, p, T, REL_TOL_DERIVATIVE);
108 ABS_TEST(_fp->v_from_p_T(p, T), 0.0012105943078630425, REL_TOL_SAVED_VALUE);
109 DERIV_TEST(_fp->v_from_p_T, p, T, REL_TOL_DERIVATIVE);
112 ABS_TEST(_fp->rho_from_p_T(p, Tb), 742.0807106065, REL_TOL_SAVED_VALUE);
113 DERIV_TEST(_fp->rho_from_p_T, p, Tb, REL_TOL_DERIVATIVE);
114 ABS_TEST(_fp->v_from_p_T(p, Tb), 0.0013475623145933863, REL_TOL_SAVED_VALUE);
115 DERIV_TEST(_fp->v_from_p_T, p, Tb, REL_TOL_DERIVATIVE);
123 const Real T = 800.0;
124 const Real p = 101325;
126 ABS_TEST(_fp->e_from_p_T(p, T),
127 _fp->h_from_p_T(p, T) - p * _fp->v_from_p_T(p, T),
128 REL_TOL_SAVED_VALUE);
129 DERIV_TEST(_fp->e_from_p_T, p, T, REL_TOL_DERIVATIVE);
137 const Real T = 800.0;
138 const Real p = 101325;
141 ABS_TEST(_fp->h_from_p_T(p, T), 767034.6715200001, REL_TOL_SAVED_VALUE);
142 DERIV_TEST(_fp->h_from_p_T, p, T, REL_TOL_DERIVATIVE);
145 const Real T2 = 1156.5;
146 ABS_TEST(_fp->h_from_p_T(p, T2), 1218897.6776327428, REL_TOL_SAVED_VALUE);
147 DERIV_TEST(_fp->h_from_p_T, p, T2, REL_TOL_DERIVATIVE);
156 const Real T = 800.0;
157 const Real p = 101325;
160 const Real v = _fp->v_from_p_T(p, T);
161 const Real e = _fp->e_from_p_T(p, T);
164 ABS_TEST(_fp->T_from_v_e(
v, e), T, TOLERANCE);
165 ABS_TEST(_fp->p_from_v_e(
v, e), p, 1e-6);
TEST_F(SodiumSaturationFluidPropertiesTest, fluidName)
Test that the fluid name is correctly returned.
static const std::string density
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v