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

Go to the source code of this file.

Functions

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

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( ThermalGraphitePropertiesTest  ,
cp   
)

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

Definition at line 34 of file ThermalGraphitePropertiesTest.C.

35{
36 Real T;
37
38 T = 800.0;
39 REL_TEST(_sp1->cp_from_T(T), 1619.4403751760003, REL_TOL_SAVED_VALUE);
40 DERIV_TEST(_sp1->cp_from_T, T, REL_TOL_DERIVATIVE);
41
42 T = 500.0;
43 REL_TEST(_sp1->cp_from_T(T), 1217.6343116400003, REL_TOL_SAVED_VALUE);
44 DERIV_TEST(_sp1->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 ( ThermalGraphitePropertiesTest  ,
 
)

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

Definition at line 51 of file ThermalGraphitePropertiesTest.C.

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

◆ TEST_F() [3/4]

TEST_F ( ThermalGraphitePropertiesTest  ,
 
)

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

Definition at line 17 of file ThermalGraphitePropertiesTest.C.

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

◆ TEST_F() [4/4]

TEST_F ( ThermalGraphitePropertiesTest  ,
rho   
)

Test that the density and its derivatives are correctly computed.

Definition at line 62 of file ThermalGraphitePropertiesTest.C.

63{
64 Real T = 800.0;
65
66 REL_TEST(_sp1->rho_from_T(T), 1850.0, REL_TOL_SAVED_VALUE);
67 DERIV_TEST(_sp1->rho_from_T, T, REL_TOL_DERIVATIVE);
68
69 REL_TEST(_sp2->rho_from_T(T), 2000.0, REL_TOL_SAVED_VALUE);
70 DERIV_TEST(_sp2->rho_from_T, T, REL_TOL_DERIVATIVE);
71}