https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Functions
PBSodiumFluidPropertiesTest.C File Reference

Go to the source code of this file.

Functions

 TEST_F (PBSodiumFluidPropertiesTest, density)
 
 TEST_F (PBSodiumFluidPropertiesTest, specificEnthalpy)
 
 TEST_F (PBSodiumFluidPropertiesTest, volumetricThermalExpansionCoefficient)
 
 TEST_F (PBSodiumFluidPropertiesTest, isobaricSpecificHeat)
 
 TEST_F (PBSodiumFluidPropertiesTest, isochoricSpecificHeat)
 
 TEST_F (PBSodiumFluidPropertiesTest, viscosity)
 
 TEST_F (PBSodiumFluidPropertiesTest, thermalConductivity)
 
 TEST_F (PBSodiumFluidPropertiesTest, temperature)
 

Function Documentation

◆ TEST_F() [1/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
density   
)

Definition at line 13 of file PBSodiumFluidPropertiesTest.C.

14{
15 const Real T = 1000.0;
16 const Real p = 2.0 * 101325;
17
18 ABS_TEST(_fp->rho_from_p_T(p, T), 779.284, REL_TOL_SAVED_VALUE);
19 DERIV_TEST(_fp->rho_from_p_T, p, T, REL_TOL_DERIVATIVE);
20}
const Real p
const double T
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [2/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
isobaricSpecificHeat   
)

Definition at line 40 of file PBSodiumFluidPropertiesTest.C.

41{
42 const Real T = 1000.0;
43 const Real p = 2.0 * 101325;
44
45 REL_TEST(_fp->cp_from_p_T(p, T), 1263.22170053911, REL_TOL_SAVED_VALUE);
46 DERIV_TEST(_fp->cp_from_p_T, p, T, REL_TOL_DERIVATIVE);
47}

◆ TEST_F() [3/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
isochoricSpecificHeat   
)

Definition at line 49 of file PBSodiumFluidPropertiesTest.C.

50{
51 const Real T = 1000.0;
52 const Real p = 2.0 * 101325;
53
54 REL_TEST(_fp->cv_from_p_T(p, T), 1263.22170053911, REL_TOL_SAVED_VALUE);
55}

◆ TEST_F() [4/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
specificEnthalpy   
)

Definition at line 22 of file PBSodiumFluidPropertiesTest.C.

23{
24 const Real T = 1000.0;
25 const Real p = 2.0 * 101325;
26
27 ABS_TEST(_fp->h_from_p_T(p, T), 1.274762047677502967e+06, 1000 * REL_TOL_SAVED_VALUE);
28 DERIV_TEST(_fp->h_from_p_T, p, T, REL_TOL_DERIVATIVE);
29}

◆ TEST_F() [5/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
temperature   
)

Definition at line 82 of file PBSodiumFluidPropertiesTest.C.

83{
84 const Real h = 1.0E+6;
85 const Real p = 2.0 * 101325;
86
87 REL_TEST(_fp->T_from_p_h(p, h), 782.535216773276, REL_TOL_SAVED_VALUE);
88}

◆ TEST_F() [6/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
thermalConductivity   
)

Definition at line 74 of file PBSodiumFluidPropertiesTest.C.

75{
76 const Real T = 1000.0;
77 const Real p = 2.0 * 101325;
78
79 REL_TEST(_fp->k_from_p_T(p, T), 58.3063, REL_TOL_SAVED_VALUE);
80}

◆ TEST_F() [7/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
viscosity   
)

Definition at line 57 of file PBSodiumFluidPropertiesTest.C.

58{
59 {
60 const Real T = 1000.0;
61 const Real p = 2.0 * 101325;
62
63 REL_TEST(_fp->mu_from_p_T(p, T), 0.0001858273, REL_TOL_SAVED_VALUE);
64 }
65
66 {
67 const Real rho = 779.284;
68 const Real T = 1000.0;
69
70 REL_TEST(_fp->mu_from_rho_T(rho, T), 0.0001858273, REL_TOL_SAVED_VALUE);
71 }
72}
const double rho

◆ TEST_F() [8/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
volumetricThermalExpansionCoefficient   
)

Definition at line 31 of file PBSodiumFluidPropertiesTest.C.

32{
33
34 const Real T = 1000.0;
35 const Real p = 2.0 * 101325;
36
37 ABS_TEST(_fp->beta_from_p_T(p, T), 0.000310107566652557, REL_TOL_SAVED_VALUE);
38}