https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctionRadiativeBC.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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#include "FunctionRadiativeBC.h"
11#include "MathUtils.h"
12
15
16template <bool is_ad>
19{
21 params.addClassDescription("Boundary condition for radiative heat exchange where the emissivity "
22 "function is supplied by a Function.");
23 params.addRequiredParam<FunctionName>(
24 "emissivity_function", "Function describing emissivity for radiative boundary condition");
25 return params;
26}
27
28template <bool is_ad>
30 : RadiativeHeatFluxBCBaseTempl<is_ad>(parameters), _emissivity(getFunction("emissivity_function"))
31{
32}
33
34template <bool is_ad>
37{
38 return _emissivity.value(_t, _q_point[_qp]);
39}
40
registerMooseObject("HeatTransferApp", FunctionRadiativeBC)
Moose::GenericType< Real, is_ad > GenericReal
Boundary condition for radiative heat exchange with a cylinder, the outer surface of the domain is as...
FunctionRadiativeBCTempl(const InputParameters &parameters)
virtual GenericReal< is_ad > coefficient() const override
qdot = sigma * coeff * (T^4 - Tinf^4 ) sigma: _sigma_stefan_boltzmann coeff: coefficient() coefficien...
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
virtual const OutputTools< Real >::VariableValue & value()
Boundary condition for radiative heat flux where temperature and the temperature of a body in radiati...
static InputParameters validParams()