https://mooseframework.inl.gov
INSFVBodyForce.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 
19 {
20 public:
21  INSFVBodyForce(const InputParameters & params);
23 
24  void gatherRCData(const Elem &) override {}
25  void gatherRCData(const FaceInfo &) override {}
26 
27 protected:
28  ADReal computeQpResidual() override;
29 
31  const Real & _scale;
32 
35 
38 };
INSFVBodyForce(const InputParameters &params)
static InputParameters validParams()
Body force that contributes to the Rhie-Chow interpolation.
void gatherRCData(const Elem &) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal computeQpResidual() override
Real PostprocessorValue
const Real & _scale
Scale factor.
const PostprocessorValue & _postprocessor
Optional postprocessor scaling factor of the body force.
All objects that contribute to pressure-based (e.g.
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 > & _functor
The functor describing the body force.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real