https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSFVMomentumPressureFlux.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 "FVFluxKernel.h"
14
20{
21public:
24
25 // Pressure term so no RC data involved
26 void gatherRCData(const Elem &) override final {}
27 void gatherRCData(const FaceInfo &) override final {}
28
29protected:
30 virtual ADReal computeQpResidual() override;
31 virtual const Moose::FunctorBase<ADReal> & epsilon() const { return _unity_functor; }
32
35
38};
DualNumber< Real, DNDerivativeType, true > ADReal
A flux kernel using the divergence theorem for the pressure gradient term in the momentum equation.
virtual const Moose::FunctorBase< ADReal > & epsilon() const
void gatherRCData(const Elem &) override final
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
const Moose::ConstantFunctor< ADReal > _unity_functor
A unity functor used in the epsilon virtual method.
void gatherRCData(const FaceInfo &) override final
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
static InputParameters validParams()
virtual ADReal computeQpResidual() override
const Moose::Functor< ADReal > & _p
The pressure.
All objects that contribute to pressure-based (e.g.