https://mooseframework.inl.gov
INSADMomentumGradDiv.h
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 #pragma once
11 
12 #include "ADKernel.h"
13 
18 {
19 public:
21 
23 
24 protected:
25  ADReal computeQpResidual() override;
26 
28  const Real _gamma;
29 
32 
34  const unsigned int _rz_radial_coord;
35 };
static InputParameters validParams()
INSADMomentumGradDiv(const InputParameters &parameters)
const Moose::CoordinateSystemType & _coord_sys
Coordinate system of the mesh.
DualNumber< Real, DNDerivativeType, true > ADReal
const unsigned int _rz_radial_coord
The radial coordinate index for RZ coordinate systems.
ADReal computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CoordinateSystemType
const InputParameters & parameters() const
const Real _gamma
The grad-div stabilization coefficient.
Adds grad-div stabilization to the INS momentum equation.