https://mooseframework.inl.gov
ThermalCompositeSiCProperties.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 
11 #include "libmesh/utility.h"
12 
14 
17 {
19 
20  params.addRangeCheckedParam<Real>("density", 3216.0, "density > 0.0", "(Constant) density");
21  params.addClassDescription("Composite silicon carbide thermal properties.");
22  return params;
23 }
24 
26  : ThermalSolidProperties(parameters),
27  _rho_const(getParam<Real>("density")),
28  _c1(925.65),
29  _c2(0.3772),
30  _c3(7.9259e-5),
31  _c4(3.1946e7)
32 {
33 }
34 
35 Real
37 {
38  return _c1 + _c2 * T - _c3 * Utility::pow<2>(T) - _c4 / Utility::pow<2>(T);
39 }
40 
41 void
42 ThermalCompositeSiCProperties::cp_from_T(const Real & T, Real & cp, Real & dcp_dT) const
43 {
44  cp = cp_from_T(T);
45  dcp_dT = _c2 - 2.0 * _c3 * T + 2.0 * _c4 / Utility::pow<3>(T);
46 }
47 
48 Real
50 {
51  return _c1 * T + 0.5 * _c2 * Utility::pow<2>(T) - _c3 / 3.0 * Utility::pow<3>(T) + _c4 / T;
52 }
53 
54 Real
56 {
57  return -1.71e-11 * Utility::pow<4>(T) + 7.35e-8 * Utility::pow<3>(T) -
58  1.10e-4 * Utility::pow<2>(T) + 0.061 * T + 7.97;
59 }
60 
61 void
62 ThermalCompositeSiCProperties::k_from_T(const Real & T, Real & k, Real & dk_dT) const
63 {
64  k = k_from_T(T);
65  dk_dT = -6.84e-11 * Utility::pow<3>(T) + 2.205e-7 * Utility::pow<2>(T) - 2.2e-4 * T + 0.061;
66 }
67 
68 Real
69 ThermalCompositeSiCProperties::rho_from_T(const Real & /* T */) const
70 {
71  return _rho_const;
72 }
73 
74 void
75 ThermalCompositeSiCProperties::rho_from_T(const Real & T, Real & rho, Real & drho_dT) const
76 {
77  rho = rho_from_T(T);
78  drho_dT = 0.0;
79 }
Composite silicon carbide properties as a function of temperature.
virtual Real cp_from_T(const Real &T) const override
ThermalCompositeSiCProperties(const InputParameters &parameters)
virtual Real cp_integral(const Real &T) const override
Common class for solid properties that are a function of temperature.
registerMooseObject("SolidPropertiesApp", ThermalCompositeSiCProperties)
static InputParameters validParams()
static const std::string cp
Definition: NS.h:121
virtual Real k_from_T(const Real &T) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _rho_const
(constant) density
void addClassDescription(const std::string &doc_string)
virtual Real rho_from_T(const Real &T) const override
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)
static const std::string k
Definition: NS.h:130