https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSFVMomentumPressure.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"
14
16{
17public:
20
21 // This object neither contributes to the A coefficients nor to the B (source) coefficients
22 void gatherRCData(const Elem &) override {}
23 void gatherRCData(const FaceInfo &) override {}
24
25protected:
26 ADReal computeQpResidual() override;
27
30
32 const unsigned int _index;
33
36};
DualNumber< Real, DNDerivativeType, true > ADReal
const bool _correct_skewness
Whether to correct for mesh skewness in face calculations.
const Moose::Functor< ADReal > & _p
The pressure.
void gatherRCData(const Elem &) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
ADReal computeQpResidual() override
static InputParameters validParams()
void gatherRCData(const FaceInfo &) override
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
const unsigned int _index
index x|y|z
All objects that contribute to pressure-based (e.g.