www.mooseframework.org
INSADMassPSPG.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "ADKernelGrad.h"
13 
14 // Forward Declarations
15 template <ComputeStage>
17 
19 
24 template <ComputeStage compute_stage>
25 class INSADMassPSPG : public ADKernelGrad<compute_stage>
26 {
27 public:
28  INSADMassPSPG(const InputParameters & parameters);
29 
30 protected:
31  ADRealVectorValue precomputeQpResidual() override;
32 
34  const ADMaterialProperty(Real) & _rho;
36  const ADMaterialProperty(Real) & _tau;
38  const ADMaterialProperty(RealVectorValue) & _momentum_strong_residual;
39 
41 };
42 
INSADMassPSPG
This class adds PSPG stabilization to the mass equation, enabling use of equal order shape functions ...
Definition: INSADMassPSPG.h:16
declareADValidParams
declareADValidParams(INSADMassPSPG)
INSADMassPSPG::ADMaterialProperty
const ADMaterialProperty(Real) &_rho
The density.
INSADMassPSPG::INSADMassPSPG
INSADMassPSPG(const InputParameters &parameters)
Definition: INSADMassPSPG.C:24
INSADMassPSPG::precomputeQpResidual
ADRealVectorValue precomputeQpResidual() override
Definition: INSADMassPSPG.C:34
INSADMassPSPG::usingKernelGradMembers
usingKernelGradMembers
Definition: INSADMassPSPG.h:40