18 template <
typename RadiativeHeatFluxBC>
27 const unsigned int qp,
31 const unsigned int qp,
42 template <
typename RadiativeHeatFluxBC>
47 params.
addParam<
Real>(
"stefan_boltzmann_constant", 5.670367e-8,
"The Stefan-Boltzmann constant.");
48 params.
addParam<
Real>(
"Tinfinity", 0,
"Temperature of the body in radiative heat transfer.");
49 params.
addClassDescription(
"Boundary condition for radiative heat flux where temperature and the" 50 "temperature of a body in radiative heat transfer are specified.");
54 template <
typename RadiativeHeatFluxBC>
58 _sigma_stefan_boltzmann(getParam<
Real>(
"stefan_boltzmann_constant")),
59 _tinf(getParam<
Real>(
"Tinfinity"))
63 template <
typename RadiativeHeatFluxBC>
66 const unsigned int qp,
71 Real T = _u(datum, qp);
72 Real T4 = T * T * T * T;
73 Real T4inf = _tinf * _tinf * _tinf * _tinf;
74 return _test(datum, i, qp) * _sigma_stefan_boltzmann * bc->coefficient() * (T4 - T4inf);
77 template <
typename RadiativeHeatFluxBC>
81 const unsigned int qp,
86 Real T = _u(datum, qp);
88 return 4 * _sigma_stefan_boltzmann * _test(datum, i, qp) * bc->coefficient() * T3 *
KokkosRadiativeHeatFluxBCBase(const InputParameters ¶meters)
const InputParameters & parameters() const
Boundary condition for radiative heat flux where temperature and the temperature of a body in radiati...
static InputParameters validParams()
const Real _tinf
The temperature of the body irhs.
KOKKOS_FUNCTION Real computeQpResidual(const unsigned int i, const unsigned int qp, ResidualDatum &datum) const
Radiative heat transfer boundary condition for a plate heat structure.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _sigma_stefan_boltzmann
Stefan-Boltzmann constant.
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
static InputParameters validParams()
KOKKOS_FUNCTION Real computeQpJacobian(const unsigned int i, const unsigned int j, const unsigned int qp, ResidualDatum &datum) const