www.mooseframework.org
RadiativeHeatFluxBCBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "IntegratedBC.h"
13 
15 
16 template <>
17 InputParameters validParams<RadiativeHeatFluxBCBase>();
18 
23 class RadiativeHeatFluxBCBase : public IntegratedBC
24 {
25 public:
26  static InputParameters validParams();
27 
28  RadiativeHeatFluxBCBase(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33 
41  virtual Real coefficient() const = 0;
42 
45 
47  const Function & _tinf;
48 
50  const Real _eps_boundary;
51 };
RadiativeHeatFluxBCBase::RadiativeHeatFluxBCBase
RadiativeHeatFluxBCBase(const InputParameters &parameters)
Definition: RadiativeHeatFluxBCBase.C:29
RadiativeHeatFluxBCBase::_tinf
const Function & _tinf
Function describing the temperature of the body irhs.
Definition: RadiativeHeatFluxBCBase.h:47
validParams< RadiativeHeatFluxBCBase >
InputParameters validParams< RadiativeHeatFluxBCBase >()
RadiativeHeatFluxBCBase
Boundary condition for radiative heat flux where temperature and the temperature of a body in radiati...
Definition: RadiativeHeatFluxBCBase.h:23
RadiativeHeatFluxBCBase::_sigma_stefan_boltzmann
const Real _sigma_stefan_boltzmann
Stefan-Boltzmann constant.
Definition: RadiativeHeatFluxBCBase.h:44
RadiativeHeatFluxBCBase::computeQpResidual
virtual Real computeQpResidual()
Definition: RadiativeHeatFluxBCBase.C:38
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
RadiativeHeatFluxBCBase::computeQpJacobian
virtual Real computeQpJacobian()
Definition: RadiativeHeatFluxBCBase.C:46