https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSFVMomentumMeshAdvection.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 "INSFVMeshAdvection.h"
14
19{
20public:
22
24 virtual void gatherRCData(const Elem & elem) override;
25 virtual void gatherRCData(const FaceInfo &) override {}
26
27protected:
29 const bool _add_to_a;
30};
Implements a source/sink term for this object's variable/advected-quantity proportional to the diverg...
Implements a momentum source/sink term proportional to the divergence of the mesh velocity.
static InputParameters validParams()
const bool _add_to_a
Whether to add this object's contribution to the Rhie-Chow coefficients.
virtual void gatherRCData(const Elem &elem) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
virtual void gatherRCData(const FaceInfo &) override
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
All objects that contribute to pressure-based (e.g.
const InputParameters & parameters() const