https://mooseframework.inl.gov
FVThermalRadiationSourceSink.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 
11 #include "MathUtils.h"
12 #include "HeatConductionNames.h"
13 
15 
18 {
20 
21  params.addClassDescription(
22  "Implements the source and the sink terms for radiation heat transfer.");
23  params.addRequiredParam<MooseFunctorName>("temperature_radiation", "The radiation temperature.");
24  params.addParam<MooseFunctorName>("opacity", 1.0, "The opacity field.");
25 
26  return params;
27 }
28 
30  : FVElementalKernel(parameters),
31  _temperature_radiation(getFunctor<ADReal>("temperature_radiation")),
32  _opacity(getFunctor<ADReal>("opacity"))
33 {
34 }
35 
36 ADReal
38 {
43 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
const Moose::Functor< ADReal > & _opacity
The opacity field.
Moose::StateArg determineState() const
FVThermalRadiationSourceSink(const InputParameters &parameters)
registerMooseObject("HeatTransferApp", FVThermalRadiationSourceSink)
DualNumber< Real, DNDerivativeType, true > ADReal
void addRequiredParam(const std::string &name, const std::string &doc_string)
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
const Elem *const & _current_elem
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
Class to define the thermal radiative transfer source and sink.
const Moose::Functor< ADReal > & _temperature_radiation
The coupled functor applying the radiation temperature.
MooseVariableFV< Real > & _var