Line data Source code
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 : 15 : InputParameters 16 244 : ThermalSS316Properties::validParams() 17 : { 18 244 : InputParameters params = ThermalSolidProperties::validParams(); 19 244 : params.addClassDescription("Stainless steel 316 thermal properties."); 20 244 : return params; 21 0 : } 22 : 23 131 : ThermalSS316Properties::ThermalSS316Properties(const InputParameters & parameters) 24 131 : : ThermalSolidProperties(parameters), _c1(0.1816), _c2(428.46) 25 : { 26 131 : } 27 : 28 : Real 29 112707 : ThermalSS316Properties::cp_from_T(const Real & T) const 30 : { 31 112707 : return _c1 * T + _c2; 32 : } 33 : 34 : void 35 112047 : ThermalSS316Properties::cp_from_T(const Real & T, Real & cp, Real & dcp_dT) const 36 : { 37 112047 : cp = cp_from_T(T); 38 112047 : dcp_dT = _c1; 39 112047 : } 40 : 41 : Real 42 86 : ThermalSS316Properties::cp_integral(const Real & T) const 43 : { 44 86 : return 0.5 * _c1 * T * T + _c2 * T; 45 : } 46 : 47 : Real 48 112669 : ThermalSS316Properties::k_from_T(const Real & T) const 49 : { 50 112669 : return -7.301e-6 * Utility::pow<2>(T) + 0.02716 * T + 6.308; 51 : } 52 : 53 : void 54 112047 : ThermalSS316Properties::k_from_T(const Real & T, Real & k, Real & dk_dT) const 55 : { 56 112047 : k = k_from_T(T); 57 112047 : dk_dT = -1.4602e-5 * T + 0.02716; 58 112047 : } 59 : 60 : Real 61 112726 : ThermalSS316Properties::rho_from_T(const Real & T) const 62 : { 63 112726 : return -4.454e-5 * Utility::pow<2>(T) - 0.4297 * T + 8089.4; 64 : } 65 : 66 : void 67 112086 : ThermalSS316Properties::rho_from_T(const Real & T, Real & rho, Real & drho_dT) const 68 : { 69 112086 : rho = rho_from_T(T); 70 112086 : drho_dT = -8.908e-5 * T - 0.4297; 71 112086 : }