#include <ConvectiveFluxFunction.h>
Definition at line 14 of file ConvectiveFluxFunction.h.
◆ CoefFuncType
Enum used to define the type of function used for the heat transfer coefficient.
Enumerator |
---|
TIME_AND_POSITION | |
TEMPERATURE | |
Definition at line 33 of file ConvectiveFluxFunction.h.
◆ ConvectiveFluxFunction()
ConvectiveFluxFunction::ConvectiveFluxFunction |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 41 of file ConvectiveFluxFunction.C.
42 : IntegratedBC(parameters),
45 _coef_func_type(getParam<MooseEnum>(
"coefficient_function_type").getEnum<CoefFuncType>()),
46 _coef_func(isParamValid(
"coefficient_function") ? &getFunction(
"coefficient_function") : NULL)
49 mooseError(
"Deprecated 'coefficient_function' parameter cannot be used with "
50 "'coefficient_function_type=TEMPERATURE'");
◆ ~ConvectiveFluxFunction()
virtual ConvectiveFluxFunction::~ConvectiveFluxFunction |
( |
| ) |
|
|
inlinevirtual |
◆ computeQpJacobian()
Real ConvectiveFluxFunction::computeQpJacobian |
( |
| ) |
|
|
overrideprotectedvirtual |
Definition at line 70 of file ConvectiveFluxFunction.C.
77 return _test[_i][_qp] * coef * _phi[_j][_qp];
82 const Real dcoef_dT =
_coefficient.timeDerivative(_u[_qp], Point());
83 return _test[_i][_qp] * (coef + (_u[_qp] -
_T_infinity.value(_t, _q_point[_qp])) * dcoef_dT) *
◆ computeQpResidual()
Real ConvectiveFluxFunction::computeQpResidual |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ validParams()
InputParameters ConvectiveFluxFunction::validParams |
( |
| ) |
|
|
static |
Definition at line 19 of file ConvectiveFluxFunction.C.
22 params.addRequiredParam<FunctionName>(
"T_infinity",
"Function describing far-field temperature");
23 params.addRequiredParam<FunctionName>(
"coefficient",
24 "Function describing heat transfer coefficient");
25 MooseEnum coef_func_type(
"TIME_AND_POSITION TEMPERATURE",
"TIME_AND_POSITION");
26 params.addParam<MooseEnum>(
27 "coefficient_function_type",
29 "Type of function for heat transfer coefficient provided in 'coefficient' parameter");
30 params.addDeprecatedParam<FunctionName>(
31 "coefficient_function",
32 "Heat transfer coefficient function",
33 "'coefficient' should be used instead. 'coefficient_function will be removed on March 1, "
35 params.addClassDescription(
36 "Determines boundary value by fluid heat transfer coefficient and far-field temperature");
◆ _coef_func
const Function* const ConvectiveFluxFunction::_coef_func |
|
protected |
◆ _coef_func_type
◆ _coefficient
const Function& ConvectiveFluxFunction::_coefficient |
|
protected |
◆ _T_infinity
const Function& ConvectiveFluxFunction::_T_infinity |
|
protected |
The documentation for this class was generated from the following files: