#include <ThermalFunctionSolidPropertiesTest.h>
◆ ThermalFunctionSolidPropertiesTest()
ThermalFunctionSolidPropertiesTest::ThermalFunctionSolidPropertiesTest |
( |
| ) |
|
|
inline |
◆ buildObjects()
void ThermalFunctionSolidPropertiesTest::buildObjects |
( |
| ) |
|
|
inlineprotected |
Definition at line 25 of file ThermalFunctionSolidPropertiesTest.h.
Referenced by ThermalFunctionSolidPropertiesTest().
28 rho_pars.
set<std::string>(
"value") =
"100.0+t";
29 _fe_problem->addFunction(
"ParsedFunction",
"rho", rho_pars);
34 cp_pars.
set<std::vector<Real>>(
"x") = {700.0, 900.0};
35 cp_pars.
set<std::vector<Real>>(
"y") = {1000.0, 1400.0};
36 _fe_problem->addFunction(
"PiecewiseLinear",
"cp", cp_pars);
41 k_pars.
set<std::string>(
"value") =
"12.1+1.e-6*t*t*t+2.0e-4*t*t-0.5*t";
42 _fe_problem->addFunction(
"ParsedFunction",
"k", k_pars);
47 uo_pars.
set<FunctionName>(
"rho") =
"rho";
48 uo_pars.
set<FunctionName>(
"cp") =
"cp";
49 uo_pars.
set<FunctionName>(
"k") =
"k";
50 _fe_problem->addUserObject(
"ThermalFunctionSolidProperties",
"sp", uo_pars);
std::shared_ptr< FEProblem > _fe_problem
Thermal material properties as a function of temperature from function inputs.
InputParameters getValidParams(const std::string &name) const
static const std::string cp
const ThermalFunctionSolidProperties * _sp
virtual void initialSetup()
static const std::string k
◆ _sp
The documentation for this class was generated from the following file: