18 template <
typename RadiativeHeatFluxBC>
29 const unsigned int qp,
33 const unsigned int qp,
44 template <
typename RadiativeHeatFluxBC>
49 params.
addParam<
Real>(
"stefan_boltzmann_constant", 5.670367e-8,
"The Stefan-Boltzmann constant.");
50 params.
addParam<
Real>(
"Tinfinity", 0,
"Temperature of the body in radiative heat transfer.");
51 params.
addClassDescription(
"Boundary condition for radiative heat flux where temperature and the" 52 "temperature of a body in radiative heat transfer are specified.");
56 template <
typename RadiativeHeatFluxBC>
60 _sigma_stefan_boltzmann(this->template getParam<
Real>(
"stefan_boltzmann_constant")),
61 _tinf(this->template getParam<
Real>(
"Tinfinity"))
65 template <
typename RadiativeHeatFluxBC>
68 const unsigned int qp,
73 Real T = _u(datum, qp);
74 Real T4 = T * T * T * T;
75 Real T4inf = _tinf * _tinf * _tinf * _tinf;
76 return _test(datum, i, qp) * _sigma_stefan_boltzmann * BC->coefficient() * (T4 - T4inf);
79 template <
typename RadiativeHeatFluxBC>
83 const unsigned int qp,
88 Real T = _u(datum, qp);
90 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...
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.
usingKokkosIntegratedBCMembers(RadiativeHeatFluxBC)
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
static InputParameters validParams()
static InputParameters validParams()
KOKKOS_FUNCTION Real computeQpJacobian(const unsigned int i, const unsigned int j, const unsigned int qp, ResidualDatum &datum) const