https://mooseframework.inl.gov
INSPressureGradientDGKernel.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 "ADDGKernel.h"
13 
19 {
20 public:
22 
24 
25  virtual void initialSetup() override;
26 
27 protected:
29 
32 
35 
37  const unsigned _component;
38 };
const InputParameters & parameters() const
DGResidualType
DualNumber< Real, DNDerivativeType, false > ADReal
const unsigned _component
Momentum component to which this pressure contribution is added.
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
INSPressureGradientDGKernel(const InputParameters &parameters)
const std::string & type() const
const ADVariableValue & _pressure_neighbor
Pressure on the neighboring element side.
VariableValueTempl< true > ADVariableValue
static InputParameters validParams()
Adds the centered interior-face pressure contribution for a discontinuous momentum equation whose pre...
const ADVariableValue & _pressure
Pressure on the current element side.