https://mooseframework.inl.gov
ThermalSS316PropertiesTest.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
12 
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 }
29 
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 }
46 
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 }
57 
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 }
static const std::string cp
Definition: NS.h:121
TEST_F(ThermalSS316PropertiesTest, k)
Test that the thermal conductivity and its derivatives are correctly computed.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string k
Definition: NS.h:130