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