www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RadiativeHeatFluxBCBase Class Referenceabstract

Boundary condition for radiative heat flux where temperature and the temperature of a body in radiative heat transfer are specified. More...

#include <RadiativeHeatFluxBCBase.h>

Inheritance diagram for RadiativeHeatFluxBCBase:
[legend]

Public Member Functions

 RadiativeHeatFluxBCBase (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real coefficient () const =0
 qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficientBody: cbody Tinf: temperature of the body irhs More...
 

Protected Attributes

const Real _sigma_stefan_boltzmann
 Stefan-Boltzmann constant. More...
 
const Function & _tinf
 Function describing the temperature of the body irhs. More...
 
const Real _eps_boundary
 Emissivity of the boundary. More...
 

Detailed Description

Boundary condition for radiative heat flux where temperature and the temperature of a body in radiative heat transfer are specified.

Definition at line 23 of file RadiativeHeatFluxBCBase.h.

Constructor & Destructor Documentation

◆ RadiativeHeatFluxBCBase()

RadiativeHeatFluxBCBase::RadiativeHeatFluxBCBase ( const InputParameters &  parameters)

Definition at line 29 of file RadiativeHeatFluxBCBase.C.

30  : IntegratedBC(parameters),
31  _sigma_stefan_boltzmann(getParam<Real>("stefan_boltzmann_constant")),
32  _tinf(getFunction("Tinfinity")),
33  _eps_boundary(getParam<Real>("boundary_emissivity"))
34 {
35 }

Member Function Documentation

◆ coefficient()

virtual Real RadiativeHeatFluxBCBase::coefficient ( ) const
protectedpure virtual

qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficientBody: cbody Tinf: temperature of the body irhs

Implemented in InfiniteCylinderRadiativeBC.

Referenced by computeQpJacobian(), and computeQpResidual().

◆ computeQpJacobian()

Real RadiativeHeatFluxBCBase::computeQpJacobian ( )
protectedvirtual

Definition at line 46 of file RadiativeHeatFluxBCBase.C.

47 {
48  Real T3 = MathUtils::pow(_u[_qp], 3);
49  return 4 * _sigma_stefan_boltzmann * _test[_i][_qp] * coefficient() * T3 * _phi[_j][_qp];
50 }

◆ computeQpResidual()

Real RadiativeHeatFluxBCBase::computeQpResidual ( )
protectedvirtual

Definition at line 38 of file RadiativeHeatFluxBCBase.C.

39 {
40  Real T4 = MathUtils::pow(_u[_qp], 4);
41  Real T4inf = MathUtils::pow(_tinf.value(_t, _q_point[_qp]), 4);
42  return _test[_i][_qp] * _sigma_stefan_boltzmann * coefficient() * (T4 - T4inf);
43 }

◆ validParams()

InputParameters RadiativeHeatFluxBCBase::validParams ( )
static

Definition at line 17 of file RadiativeHeatFluxBCBase.C.

18 {
19  InputParameters params = IntegratedBC::validParams();
20  params.addParam<Real>("stefan_boltzmann_constant", 5.670367e-8, "The Stefan-Boltzmann constant.");
21  params.addParam<FunctionName>(
22  "Tinfinity", "0", "Temperature of the body in radiative heat transfer.");
23  params.addParam<Real>("boundary_emissivity", 1, "Emissivity of the boundary.");
24  params.addClassDescription("Boundary condition for radiative heat flux where temperature and the"
25  "temperature of a body in radiative heat transfer are specified.");
26  return params;
27 }

Referenced by InfiniteCylinderRadiativeBC::validParams().

Member Data Documentation

◆ _eps_boundary

const Real RadiativeHeatFluxBCBase::_eps_boundary
protected

Emissivity of the boundary.

Definition at line 50 of file RadiativeHeatFluxBCBase.h.

Referenced by InfiniteCylinderRadiativeBC::InfiniteCylinderRadiativeBC().

◆ _sigma_stefan_boltzmann

const Real RadiativeHeatFluxBCBase::_sigma_stefan_boltzmann
protected

Stefan-Boltzmann constant.

Definition at line 44 of file RadiativeHeatFluxBCBase.h.

Referenced by computeQpJacobian(), and computeQpResidual().

◆ _tinf

const Function& RadiativeHeatFluxBCBase::_tinf
protected

Function describing the temperature of the body irhs.

Definition at line 47 of file RadiativeHeatFluxBCBase.h.

Referenced by computeQpResidual().


The documentation for this class was generated from the following files:
pow
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Definition: ExpressionBuilder.h:673
RadiativeHeatFluxBCBase::_tinf
const Function & _tinf
Function describing the temperature of the body irhs.
Definition: RadiativeHeatFluxBCBase.h:47
RadiativeHeatFluxBCBase::_sigma_stefan_boltzmann
const Real _sigma_stefan_boltzmann
Stefan-Boltzmann constant.
Definition: RadiativeHeatFluxBCBase.h:44
RadiativeHeatFluxBCBase::coefficient
virtual Real coefficient() const =0
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
validParams
InputParameters validParams()
RadiativeHeatFluxBCBase::_eps_boundary
const Real _eps_boundary
Emissivity of the boundary.
Definition: RadiativeHeatFluxBCBase.h:50