https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADOneDEnergyWallHeatFlux.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
13
16{
18 params.addRequiredParam<MaterialPropertyName>("q_wall", "Wall heat flux material property");
19 params.addRequiredCoupledVar("P_hf", "heat flux perimeter");
20 params.addClassDescription("Computes a heat flux term for the energy equation");
21 return params;
22}
23
25 : ADKernel(parameters),
26 _q_wall(getADMaterialProperty<Real>("q_wall")),
27 _P_hf(adCoupledValue("P_hf"))
28{
29}
30
registerMooseObject("ThermalHydraulicsApp", ADOneDEnergyWallHeatFlux)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADTemplateVariableTestValue< T > & _test
static InputParameters validParams()
ADOneDEnergyWallHeatFlux(const InputParameters &parameters)
const ADVariableValue & _P_hf
Heat flux perimeter.
const ADMaterialProperty< Real > & _q_wall
Heat flux.
static InputParameters validParams()
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i