19 "Modeling conduction, convection, and radiation across internal side set.");
20 params.
addParam<MaterialPropertyName>(
"conductance",
22 "Conductivity of gap divided by effective gap width,"
23 "conductance ignored if not provided");
24 params.
addCoupledVar(
"Tbulk_var",
"Bulk temperature of gap as variable");
25 params.
addParam<MaterialPropertyName>(
26 "Tbulk_mat",
"gap_Tbulk",
"Bulk temperature of gap as material property");
27 params.
addParam<MaterialPropertyName>(
30 "Convective heat transfer coefficient (primary face), convection ignored if not provided");
31 params.
addParam<MaterialPropertyName>(
34 "Convective heat transfer coefficient (neighbor face), convection ignored if not provided");
35 params.
addParam<MaterialPropertyName>(
36 "emissivity_eff_primary",
37 "gap_emissivity_eff_primary",
38 "Effective emmissivity of primary face, radiation ignored if not provided. "
39 "This value contains contributions from reflectivity, see SideSetHeatTransferMaterial "
41 params.
addParam<MaterialPropertyName>(
42 "emissivity_eff_neighbor",
43 "gap_emissivity_eff_neighbor",
44 "Effective emmissivity of neighbor face, radiation ignored if not provided. "
45 "This value contains contributions from reflectivity, see SideSetHeatTransferMaterial "
52 _cond(getMaterialProperty<Real>(
"conductance")),
53 _Tbulk_var(isParamValid(
"Tbulk_var") ? &coupledValue(
"Tbulk_var") : nullptr),
54 _Tbulk_mat(_Tbulk_var ? nullptr : &getMaterialProperty<Real>(
"Tbulk_mat")),
55 _hp(getMaterialProperty<Real>(
"h_primary")),
56 _hm(getMaterialProperty<Real>(
"h_neighbor")),
57 _eps_p(getMaterialProperty<Real>(
"emissivity_eff_primary")),
58 _eps_m(getMaterialProperty<Real>(
"emissivity_eff_neighbor"))
61 paramError(
"Tbulk_var",
"Both Tbulk_mat and Tbulk_var set by user, cannot use both.");
65 "Variable and neighbor variable are the same, but they are not elemental variables.");
registerMooseObject("HeatTransferApp", SideSetHeatTransferKernel)
const TemplateVariableValue & _u
const TemplateVariableValue & _neighbor_value
static InputParameters validParams()
const TemplateVariableTestValue & _test_neighbor
const TemplateVariablePhiValue & _phi
MooseVariableFE< T > & _var
const MooseVariableFE< T > & _neighbor_var
const TemplateVariableTestValue & _test
const TemplateVariablePhiValue & _phi_neighbor
const InputParameters & parameters() const
const std::string & type() const
void paramError(const std::string ¶m, Args... args) const
void mooseError(Args &&... args) const
unsigned int number() const
bool isNodal() const override
DG kernel for interfacing diffusion between two variables on adjacent blocks.
const VariableValue *const _Tbulk_var
Bulk temperature of gap.
const MaterialProperty< Real > & _eps_p
Master face effective emissivity \epsilon^+\sigma(1-\rho^-)/(1-\rho^+\rho^-)
SideSetHeatTransferKernel(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
const MaterialProperty< Real > & _hm
Convective heat transfer coefficient (neighbor face)
const MaterialProperty< Real > & _cond
Conductivity of gap divided by effective gap width.
const MaterialProperty< Real > & _eps_m
Neighbor face effective emissivity \epsilon^-\sigma(1-\rho^+)/(1-\rho^+\rho^-)
const MaterialProperty< Real > & _hp
Convective heat transfer coefficient (primary face)
virtual Real computeQpResidual(Moose::DGResidualType type) override