https://mooseframework.inl.gov
ThermalSS316Properties.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 
10 #include "ThermalSS316Properties.h"
11 #include "libmesh/utility.h"
12 
13 registerMooseObject("SolidPropertiesApp", ThermalSS316Properties);
14 
17 {
19  params.addClassDescription("Stainless steel 316 thermal properties.");
20  return params;
21 }
22 
24  : ThermalSolidProperties(parameters), _c1(0.1816), _c2(428.46)
25 {
26 }
27 
28 Real
29 ThermalSS316Properties::cp_from_T(const Real & T) const
30 {
31  return _c1 * T + _c2;
32 }
33 
34 void
35 ThermalSS316Properties::cp_from_T(const Real & T, Real & cp, Real & dcp_dT) const
36 {
37  cp = cp_from_T(T);
38  dcp_dT = _c1;
39 }
40 
41 Real
43 {
44  return 0.5 * _c1 * T * T + _c2 * T;
45 }
46 
47 Real
48 ThermalSS316Properties::k_from_T(const Real & T) const
49 {
50  return -7.301e-6 * Utility::pow<2>(T) + 0.02716 * T + 6.308;
51 }
52 
53 void
54 ThermalSS316Properties::k_from_T(const Real & T, Real & k, Real & dk_dT) const
55 {
56  k = k_from_T(T);
57  dk_dT = -1.4602e-5 * T + 0.02716;
58 }
59 
60 Real
62 {
63  return -4.454e-5 * Utility::pow<2>(T) - 0.4297 * T + 8089.4;
64 }
65 
66 void
67 ThermalSS316Properties::rho_from_T(const Real & T, Real & rho, Real & drho_dT) const
68 {
69  rho = rho_from_T(T);
70  drho_dT = -8.908e-5 * T - 0.4297;
71 }
ThermalSS316Properties(const InputParameters &parameters)
virtual Real rho_from_T(const Real &T) const override
virtual Real k_from_T(const Real &T) const override
Common class for solid properties that are a function of temperature.
static InputParameters validParams()
Stainless steel alloy 316 thermal solid properties as a function of temperature.
static const std::string cp
Definition: NS.h:121
registerMooseObject("SolidPropertiesApp", ThermalSS316Properties)
virtual Real cp_from_T(const Real &T) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real cp_integral(const Real &T) const override
void addClassDescription(const std::string &doc_string)
static const std::string k
Definition: NS.h:130
static InputParameters validParams()