Go to the documentation of this file.
20 params.addClassDescription(
21 "Convective heat transfer boundary condition with temperature and heat "
22 "transfer coefficent given by auxiliary variables.");
23 params.addCoupledVar(
"alpha", 1.,
"Volume fraction of components");
24 params.addRequiredCoupledVar(
"T_infinity",
"Field holding far-field temperature");
25 params.addRequiredCoupledVar(
"htc",
"Heat transfer coefficient");
31 : IntegratedBC(parameters), _n_components(coupledComponents(
"T_infinity"))
36 "The number of coupled components does not match the number of `T_infinity` components.");
40 "The number of coupled components does not match the number of `T_infinity` components.");
47 _htc[c] = &coupledValue(
"htc", c);
49 _alpha[c] = &coupledValue(
"alpha", c);
59 return _test[_i][_qp] * q;
67 dq += (*
_alpha[c])[_qp] * (*
_htc[c])[_qp] * _phi[_j][_qp];
68 return _test[_i][_qp] * dq;
virtual Real computeQpJacobian()
Boundary condition for convective heat flux where temperature and heat transfer coefficient are given...
virtual Real computeQpResidual()
defineLegacyParams(CoupledConvectiveHeatFluxBC)
registerMooseObject("HeatConductionApp", CoupledConvectiveHeatFluxBC)
CoupledConvectiveHeatFluxBC(const InputParameters ¶meters)
std::vector< const VariableValue * > _alpha
Volume fraction of individual phase.
InputParameters validParams()
std::vector< const VariableValue * > _T_infinity
Far-field temperatue fields for each component.
static InputParameters validParams()
std::vector< const VariableValue * > _htc
Convective heat transfer coefficient.
unsigned int _n_components
The number of components.