www.mooseframework.org
INSADMomentumForces.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 "ADKernelValue.h"
13 
14 // Forward Declarations
15 template <ComputeStage>
17 
19 
25 template <ComputeStage compute_stage>
26 class INSADMomentumForces : public ADVectorKernelValue<compute_stage>
27 {
28 public:
29  INSADMomentumForces(const InputParameters & parameters);
30 
31 protected:
32  virtual ADRealVectorValue precomputeQpResidual() override;
33 
34  const ADMaterialProperty(RealVectorValue) & _gravity_strong_residual;
35  const ADMaterialProperty(RealVectorValue) & _mms_function_strong_residual;
36 
38 };
39 
INSADMomentumForces
This class computes the momentum equation residual and Jacobian contributions for force terms in the ...
Definition: INSADMomentumForces.h:16
INSADMomentumForces::INSADMomentumForces
INSADMomentumForces(const InputParameters &parameters)
Definition: INSADMomentumForces.C:19
INSADMomentumForces::precomputeQpResidual
virtual ADRealVectorValue precomputeQpResidual() override
Definition: INSADMomentumForces.C:29
INSADMomentumForces::usingVectorKernelValueMembers
usingVectorKernelValueMembers
Definition: INSADMomentumForces.h:37
declareADValidParams
declareADValidParams(INSADMomentumForces)
INSADMomentumForces::ADMaterialProperty
const ADMaterialProperty(RealVectorValue) &_gravity_strong_residual