https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADEnergySUPG.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 "INSADEnergySUPG.h"
11
13
16{
18 params.addClassDescription("Adds the supg stabilization to the INS temperature/energy equation");
19 params.set<MaterialPropertyName>("tau_name") = "tau_energy";
20 return params;
21}
22
24 : ADKernelSUPG(parameters),
25 _temperature_strong_residual(getADMaterialProperty<Real>("temperature_strong_residual"))
26{
27}
28
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSADEnergySUPG)
static InputParameters validParams()
This class computes the residual and Jacobian contributions for temperature/energy equation SUPG stab...
INSADEnergySUPG(const InputParameters &parameters)
static InputParameters validParams()
ADReal precomputeQpStrongResidual() override
const ADMaterialProperty< Real > & _temperature_strong_residual
void addClassDescription(const std::string &doc_string)
T & set(const std::string &name, bool quiet_mode=false)
unsigned int _qp