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

Go to the source code of this file.

Functions

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

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( ThermalMonolithicSiCPropertiesTest  ,
cp   
)

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

Definition at line 44 of file ThermalMonolithicSiCPropertiesTest.C.

45{
46 Real T;
47
48 T = 800.0;
49 REL_TEST(_sp1->cp_from_T(T), 1126.7686149999997, REL_TOL_SAVED_VALUE);
50 DERIV_TEST(_sp1->cp_from_T, T, REL_TOL_DERIVATIVE);
51
52 T = 500.0;
53 REL_TEST(_sp1->cp_from_T(T), 966.65125, REL_TOL_SAVED_VALUE);
54 DERIV_TEST(_sp1->cp_from_T, T, REL_TOL_DERIVATIVE);
55}
const double T
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ TEST_F() [2/4]

TEST_F ( ThermalMonolithicSiCPropertiesTest  ,
 
)

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

Definition at line 61 of file ThermalMonolithicSiCPropertiesTest.C.

62{
63 const Real T = 800.0;
64 REL_TEST(_sp1->e_from_T(T), 504301.09074042423, REL_TOL_SAVED_VALUE);
65 SPECIFIC_INTERNAL_ENERGY_TESTS(_sp1, T, 1e-6, 1e-6);
66}

◆ TEST_F() [3/4]

TEST_F ( ThermalMonolithicSiCPropertiesTest  ,
 
)

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

Definition at line 17 of file ThermalMonolithicSiCPropertiesTest.C.

18{
19 Real T;
20
21 // Snead correlation
22 T = 800.0;
23 REL_TEST(_sp1->k_from_T(T), 123.4567901234568, REL_TOL_SAVED_VALUE);
24 DERIV_TEST(_sp1->k_from_T, T, REL_TOL_DERIVATIVE);
25
26 T = 500.0;
27 REL_TEST(_sp1->k_from_T(T), 202.02020202020205, REL_TOL_SAVED_VALUE);
28 DERIV_TEST(_sp1->k_from_T, T, REL_TOL_DERIVATIVE);
29
30 // Stone correlation
31 T = 800.0;
32 REL_TEST(_sp2->k_from_T(T), 61.516, REL_TOL_SAVED_VALUE);
33 DERIV_TEST(_sp2->k_from_T, T, REL_TOL_DERIVATIVE);
34
35 T = 500.0;
36 REL_TEST(_sp2->k_from_T(T), 79.975, REL_TOL_SAVED_VALUE);
37 DERIV_TEST(_sp2->k_from_T, T, REL_TOL_DERIVATIVE);
38}

◆ TEST_F() [4/4]

Test that the density and its derivatives are correctly computed.

Definition at line 72 of file ThermalMonolithicSiCPropertiesTest.C.

73{
74 Real T = 800.0;
75
76 REL_TEST(_sp1->rho_from_T(T), 3216.0, REL_TOL_SAVED_VALUE);
77 DERIV_TEST(_sp1->rho_from_T, T, REL_TOL_DERIVATIVE);
78
79 REL_TEST(_sp2->rho_from_T(T), 3000.0, REL_TOL_SAVED_VALUE);
80 DERIV_TEST(_sp2->rho_from_T, T, REL_TOL_DERIVATIVE);
81}