https://mooseframework.inl.gov
PNSFVPGradEpsilon.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 "FVElementalKernel.h"
13 
14 class Function;
15 
25 class PNSFVPGradEpsilon : public FVElementalKernel
26 {
27 public:
29  PNSFVPGradEpsilon(const InputParameters & params);
30 
31 protected:
32  ADReal computeQpResidual() override;
33 
35  const ADMaterialProperty<Real> & _pressure;
36 
38  const Function & _eps_function;
39 
41  const unsigned int _index;
42 };
virtual ADReal computeQpResidual()=0
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()