https://mooseframework.inl.gov
INSADEnergyAdvection.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 "INSADEnergyAdvection.h"
11 
12 registerMooseObject("NavierStokesApp", INSADEnergyAdvection);
13 
16 {
18  params.addClassDescription("This class computes the residual and Jacobian contributions for "
19  "temperature advection for a divergence free velocity field.");
20  return params;
21 }
22 
24  : ADKernelValue(parameters),
25  _temperature_advective_strong_residual(
26  getADMaterialProperty<Real>("temperature_advective_strong_residual"))
27 {
28 }
29 
30 ADReal
32 {
34 }
static InputParameters validParams()
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
INSADEnergyAdvection(const InputParameters &parameters)
const ADMaterialProperty< Real > & _temperature_advective_strong_residual
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("NavierStokesApp", INSADEnergyAdvection)
void addClassDescription(const std::string &doc_string)
virtual ADReal precomputeQpResidual() override
unsigned int _qp
This class computes the residual and Jacobian contributions for temperature advection.