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

Go to the source code of this file.

Functions

 TEST_F (ThermalSS316PropertiesTest, k)
 Test that the thermal conductivity and its derivatives are correctly computed.
 
 TEST_F (ThermalSS316PropertiesTest, cp)
 Test that the isobaric specific heat capacity and its derivatives are correctly computed.
 
 TEST_F (ThermalSS316PropertiesTest, e)
 Test that the specific internal energy and its derivatives are correctly computed.
 
 TEST_F (ThermalSS316PropertiesTest, rho)
 Test that the density and its derivatives are correctly computed.
 

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( ThermalSS316PropertiesTest  ,
cp   
)

Test that the isobaric specific heat capacity and its derivatives are correctly computed.

Definition at line 34 of file ThermalSS316PropertiesTest.C.

35{
36 Real T;
37
38 T = 800.0;
39 REL_TEST(_sp->cp_from_T(T), 573.74, REL_TOL_SAVED_VALUE);
40 DERIV_TEST(_sp->cp_from_T, T, REL_TOL_DERIVATIVE);
41
42 T = 500.0;
43 REL_TEST(_sp->cp_from_T(T), 519.26, REL_TOL_SAVED_VALUE);
44 DERIV_TEST(_sp->cp_from_T, T, REL_TOL_DERIVATIVE);
45}
const double T
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [2/4]

TEST_F ( ThermalSS316PropertiesTest  ,
 
)

Test that the specific internal energy and its derivatives are correctly computed.

Definition at line 51 of file ThermalSS316PropertiesTest.C.

52{
53 const Real T = 800.0;
54 REL_TEST(_sp->e_from_T(T), 277071.479237, REL_TOL_SAVED_VALUE);
55 SPECIFIC_INTERNAL_ENERGY_TESTS(_sp, T, 1e-6, 1e-6);
56}

◆ TEST_F() [3/4]

TEST_F ( ThermalSS316PropertiesTest  ,
 
)

Test that the thermal conductivity and its derivatives are correctly computed.

Definition at line 17 of file ThermalSS316PropertiesTest.C.

18{
19 Real T;
20
21 T = 800.0;
22 REL_TEST(_sp->k_from_T(T), 23.36336, REL_TOL_SAVED_VALUE);
23 DERIV_TEST(_sp->k_from_T, T, REL_TOL_DERIVATIVE);
24
25 T = 500.0;
26 REL_TEST(_sp->k_from_T(T), 18.06275, REL_TOL_SAVED_VALUE);
27 DERIV_TEST(_sp->k_from_T, T, REL_TOL_DERIVATIVE);
28}

◆ TEST_F() [4/4]

TEST_F ( ThermalSS316PropertiesTest  ,
rho   
)

Test that the density and its derivatives are correctly computed.

Definition at line 62 of file ThermalSS316PropertiesTest.C.

63{
64 Real T;
65
66 T = 800.0;
67 REL_TEST(_sp->rho_from_T(T), 7717.1344, REL_TOL_SAVED_VALUE);
68 DERIV_TEST(_sp->rho_from_T, T, REL_TOL_DERIVATIVE);
69
70 T = 500.0;
71 REL_TEST(_sp->rho_from_T(T), 7863.415, REL_TOL_SAVED_VALUE);
72 DERIV_TEST(_sp->rho_from_T, T, REL_TOL_DERIVATIVE);
73}