https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("HeatTransferApp", FVThermalRadiationSourceSink)
static InputParameters validParams()
MooseVariableFV< Real > & _var
const Elem *const & _current_elem
Class to define the thermal radiative transfer source and sink.
const Moose::Functor< ADReal > & _temperature_radiation
The coupled functor applying the radiation temperature.
const Moose::Functor< ADReal > & _opacity
The opacity field.
FVThermalRadiationSourceSink(const InputParameters &parameters)
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Moose::StateArg determineState() const