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

Boundary condition for radiative heat exchange with a cylinder, the outer surface of the domain is assumed to be cylindrical as well. More...

#include <InfiniteCylinderRadiativeBC.h>

Inheritance diagram for InfiniteCylinderRadiativeBC:
[legend]

Public Member Functions

 InfiniteCylinderRadiativeBC (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

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

Protected Attributes

const Real _eps_cylinder
 emissivity of the cylinder irht with the boundary More...
 
const Real _boundary_radius
 radius of the boundary More...
 
const Real _cylinder_radius
 radius of the cylinder around the boundary More...
 
Real _coefficient
 coefficients are constant and pre-computed More...
 
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 exchange with a cylinder, the outer surface of the domain is assumed to be cylindrical as well.

Definition at line 23 of file InfiniteCylinderRadiativeBC.h.

Constructor & Destructor Documentation

◆ InfiniteCylinderRadiativeBC()

InfiniteCylinderRadiativeBC::InfiniteCylinderRadiativeBC ( const InputParameters &  parameters)

Definition at line 33 of file InfiniteCylinderRadiativeBC.C.

34  : RadiativeHeatFluxBCBase(parameters),
35  _eps_cylinder(getParam<Real>("cylinder_emissivity")),
36  _boundary_radius(getParam<Real>("boundary_radius")),
37  _cylinder_radius(getParam<Real>("cylinder_radius"))
38 {
39  _coefficient =
42 }

Member Function Documentation

◆ coefficient()

Real InfiniteCylinderRadiativeBC::coefficient ( ) const
overrideprotectedvirtual

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

Implements RadiativeHeatFluxBCBase.

Definition at line 45 of file InfiniteCylinderRadiativeBC.C.

46 {
47  return _coefficient;
48 }

◆ computeQpJacobian()

Real RadiativeHeatFluxBCBase::computeQpJacobian ( )
protectedvirtualinherited

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 ( )
protectedvirtualinherited

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 InfiniteCylinderRadiativeBC::validParams ( )
static

Definition at line 18 of file InfiniteCylinderRadiativeBC.C.

19 {
20  InputParameters params = RadiativeHeatFluxBCBase::validParams();
21  params.addParam<Real>("cylinder_emissivity",
22  1,
23  "Emissivity of the cylinder in radiative heat transfer with the boundary.");
24  params.addRequiredParam<Real>("boundary_radius",
25  "Radius of the boundary approximated as cylinder.");
26  params.addRequiredParam<Real>("cylinder_radius",
27  "Radius of the cylinder on the outside of the boundary.");
28  params.addClassDescription("Boundary condition for radiative heat exchange with a cylinder"
29  "where the boundary is approximated as a cylinder as well.");
30  return params;
31 }

Member Data Documentation

◆ _boundary_radius

const Real InfiniteCylinderRadiativeBC::_boundary_radius
protected

radius of the boundary

Definition at line 37 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _coefficient

Real InfiniteCylinderRadiativeBC::_coefficient
protected

coefficients are constant and pre-computed

Definition at line 43 of file InfiniteCylinderRadiativeBC.h.

Referenced by coefficient(), and InfiniteCylinderRadiativeBC().

◆ _cylinder_radius

const Real InfiniteCylinderRadiativeBC::_cylinder_radius
protected

radius of the cylinder around the boundary

Definition at line 40 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _eps_boundary

const Real RadiativeHeatFluxBCBase::_eps_boundary
protectedinherited

Emissivity of the boundary.

Definition at line 50 of file RadiativeHeatFluxBCBase.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _eps_cylinder

const Real InfiniteCylinderRadiativeBC::_eps_cylinder
protected

emissivity of the cylinder irht with the boundary

Definition at line 34 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _sigma_stefan_boltzmann

const Real RadiativeHeatFluxBCBase::_sigma_stefan_boltzmann
protectedinherited

Stefan-Boltzmann constant.

Definition at line 44 of file RadiativeHeatFluxBCBase.h.

Referenced by RadiativeHeatFluxBCBase::computeQpJacobian(), and RadiativeHeatFluxBCBase::computeQpResidual().

◆ _tinf

const Function& RadiativeHeatFluxBCBase::_tinf
protectedinherited

Function describing the temperature of the body irhs.

Definition at line 47 of file RadiativeHeatFluxBCBase.h.

Referenced by RadiativeHeatFluxBCBase::computeQpResidual().


The documentation for this class was generated from the following files:
InfiniteCylinderRadiativeBC::_coefficient
Real _coefficient
coefficients are constant and pre-computed
Definition: InfiniteCylinderRadiativeBC.h:43
RadiativeHeatFluxBCBase::RadiativeHeatFluxBCBase
RadiativeHeatFluxBCBase(const InputParameters &parameters)
Definition: RadiativeHeatFluxBCBase.C:29
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
InfiniteCylinderRadiativeBC::_cylinder_radius
const Real _cylinder_radius
radius of the cylinder around the boundary
Definition: InfiniteCylinderRadiativeBC.h:40
InfiniteCylinderRadiativeBC::_eps_cylinder
const Real _eps_cylinder
emissivity of the cylinder irht with the boundary
Definition: InfiniteCylinderRadiativeBC.h:34
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...
RadiativeHeatFluxBCBase::validParams
static InputParameters validParams()
Definition: RadiativeHeatFluxBCBase.C:17
RadiativeHeatFluxBCBase::_eps_boundary
const Real _eps_boundary
Emissivity of the boundary.
Definition: RadiativeHeatFluxBCBase.h:50
InfiniteCylinderRadiativeBC::_boundary_radius
const Real _boundary_radius
radius of the boundary
Definition: InfiniteCylinderRadiativeBC.h:37