https://mooseframework.inl.gov
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 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [2/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 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [3/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
volumetricThermalExpansionCoefficient   
)

Definition at line 30 of file PBSodiumFluidPropertiesTest.C.

31 {
32 
33  const Real T = 1000.0;
34  const Real p = 2.0 * 101325;
35 
36  ABS_TEST(_fp->beta_from_p_T(p, T), 0.000310107566652557, REL_TOL_SAVED_VALUE);
37 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [4/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
isobaricSpecificHeat   
)

Definition at line 39 of file PBSodiumFluidPropertiesTest.C.

40 {
41  const Real T = 1000.0;
42  const Real p = 2.0 * 101325;
43 
44  REL_TEST(_fp->cp_from_p_T(p, T), 1263.22170053911, REL_TOL_SAVED_VALUE);
45  DERIV_TEST(_fp->cp_from_p_T, p, T, REL_TOL_DERIVATIVE);
46 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [5/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
isochoricSpecificHeat   
)

Definition at line 48 of file PBSodiumFluidPropertiesTest.C.

49 {
50  const Real T = 1000.0;
51  const Real p = 2.0 * 101325;
52 
53  REL_TEST(_fp->cv_from_p_T(p, T), 1263.22170053911, REL_TOL_SAVED_VALUE);
54 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [6/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
viscosity   
)

Definition at line 56 of file PBSodiumFluidPropertiesTest.C.

57 {
58  {
59  const Real T = 1000.0;
60  const Real p = 2.0 * 101325;
61 
62  REL_TEST(_fp->mu_from_p_T(p, T), 0.0001858273, REL_TOL_SAVED_VALUE);
63  }
64 
65  {
66  const Real rho = 779.284;
67  const Real T = 1000.0;
68 
69  REL_TEST(_fp->mu_from_rho_T(rho, T), 0.0001858273, REL_TOL_SAVED_VALUE);
70  }
71 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [7/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
thermalConductivity   
)

Definition at line 73 of file PBSodiumFluidPropertiesTest.C.

74 {
75  const Real T = 1000.0;
76  const Real p = 2.0 * 101325;
77 
78  REL_TEST(_fp->k_from_p_T(p, T), 58.3063, REL_TOL_SAVED_VALUE);
79 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [8/8]

TEST_F ( PBSodiumFluidPropertiesTest  ,
temperature   
)

Definition at line 81 of file PBSodiumFluidPropertiesTest.C.

82 {
83  const Real h = 1.0E+6;
84  const Real p = 2.0 * 101325;
85 
86  REL_TEST(_fp->T_from_p_h(p, h), 782.535216773276, REL_TOL_SAVED_VALUE);
87 }
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real