www.mooseframework.org
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)
 

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...
 
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 24 of file InfiniteCylinderRadiativeBC.h.

Constructor & Destructor Documentation

◆ InfiniteCylinderRadiativeBC()

InfiniteCylinderRadiativeBC::InfiniteCylinderRadiativeBC ( const InputParameters &  parameters)

Definition at line 32 of file InfiniteCylinderRadiativeBC.C.

33  : RadiativeHeatFluxBCBase(parameters),
34  _eps_cylinder(getParam<Real>("cylinder_emissivity")),
35  _boundary_radius(getParam<Real>("boundary_radius")),
36  _cylinder_radius(getParam<Real>("cylinder_radius"))
37 {
38  _coefficient =
41 }
const Real _boundary_radius
radius of the boundary
RadiativeHeatFluxBCBase(const InputParameters &parameters)
const Real _eps_boundary
Emissivity of the boundary.
const Real _cylinder_radius
radius of the cylinder around the boundary
const Real _eps_cylinder
emissivity of the cylinder irht with the boundary
Real _coefficient
coefficients are constant and pre-computed

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 44 of file InfiniteCylinderRadiativeBC.C.

45 {
46  return _coefficient;
47 }
Real _coefficient
coefficients are constant and pre-computed

◆ computeQpJacobian()

Real RadiativeHeatFluxBCBase::computeQpJacobian ( )
protectedvirtualinherited

Definition at line 45 of file RadiativeHeatFluxBCBase.C.

46 {
47  Real T3 = MathUtils::pow(_u[_qp], 3);
48  return 4 * _sigma_stefan_boltzmann * _test[_i][_qp] * coefficient() * T3 * _phi[_j][_qp];
49 }
const Real _sigma_stefan_boltzmann
Stefan-Boltzmann constant.
virtual Real coefficient() const =0
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)

◆ computeQpResidual()

Real RadiativeHeatFluxBCBase::computeQpResidual ( )
protectedvirtualinherited

Definition at line 37 of file RadiativeHeatFluxBCBase.C.

38 {
39  Real T4 = MathUtils::pow(_u[_qp], 4);
40  Real T4inf = MathUtils::pow(_tinf.value(_t, _q_point[_qp]), 4);
41  return _test[_i][_qp] * _sigma_stefan_boltzmann * coefficient() * (T4 - T4inf);
42 }
const Real _sigma_stefan_boltzmann
Stefan-Boltzmann constant.
virtual Real coefficient() const =0
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Function & _tinf
Function describing the temperature of the body irhs.

Member Data Documentation

◆ _boundary_radius

const Real InfiniteCylinderRadiativeBC::_boundary_radius
protected

radius of the boundary

Definition at line 36 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _coefficient

Real InfiniteCylinderRadiativeBC::_coefficient
protected

coefficients are constant and pre-computed

Definition at line 42 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 39 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _eps_boundary

const Real RadiativeHeatFluxBCBase::_eps_boundary
protectedinherited

Emissivity of the boundary.

Definition at line 49 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 33 of file InfiniteCylinderRadiativeBC.h.

Referenced by InfiniteCylinderRadiativeBC().

◆ _sigma_stefan_boltzmann

const Real RadiativeHeatFluxBCBase::_sigma_stefan_boltzmann
protectedinherited

Stefan-Boltzmann constant.

Definition at line 43 of file RadiativeHeatFluxBCBase.h.

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

◆ _tinf

Function& RadiativeHeatFluxBCBase::_tinf
protectedinherited

Function describing the temperature of the body irhs.

Definition at line 46 of file RadiativeHeatFluxBCBase.h.

Referenced by RadiativeHeatFluxBCBase::computeQpResidual().


The documentation for this class was generated from the following files: