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