www.mooseframework.org
INSADMomentumPressure.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 "ADKernel.h"
13 
14 // Forward Declarations
15 template <ComputeStage>
17 
19 
25 template <ComputeStage compute_stage>
26 class INSADMomentumPressure : public ADVectorKernel<compute_stage>
27 {
28 public:
29  INSADMomentumPressure(const InputParameters & parameters);
30 
31 protected:
32  virtual ADReal computeQpResidual() override;
33 
35  const ADVariableValue & _p;
36  const ADVariableGradient & _grad_p;
37 
39 };
40 
INSADMomentumPressure::_integrate_p_by_parts
const bool _integrate_p_by_parts
Definition: INSADMomentumPressure.h:34
INSADMomentumPressure::_grad_p
const ADVariableGradient & _grad_p
Definition: INSADMomentumPressure.h:36
INSADMomentumPressure::computeQpResidual
virtual ADReal computeQpResidual() override
Definition: INSADMomentumPressure.C:34
declareADValidParams
declareADValidParams(INSADMomentumPressure)
INSADMomentumPressure::usingVectorKernelMembers
usingVectorKernelMembers
Definition: INSADMomentumPressure.h:38
INSADMomentumPressure::INSADMomentumPressure
INSADMomentumPressure(const InputParameters &parameters)
Definition: INSADMomentumPressure.C:24
INSADMomentumPressure::_p
const ADVariableValue & _p
Definition: INSADMomentumPressure.h:35
INSADMomentumPressure
This class computes the momentum equation residual and Jacobian contributions for the pressure term o...
Definition: INSADMomentumPressure.h:16