https://mooseframework.inl.gov
RhieChowFaceFluxProvider.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 "GeneralUserObject.h"
13 #include "BlockRestrictable.h"
14 #include "FaceArgInterface.h"
15 #include "MooseTypes.h"
16 
17 class MooseMesh;
18 namespace libMesh
19 {
20 class Elem;
21 class MeshBase;
22 }
23 
25  public BlockRestrictable,
26  public FaceArgInterface
27 {
28 public:
31 
41  const FaceInfo & fi,
42  const Moose::StateArg & time,
43  const THREAD_ID tid,
44  bool subtract_mesh_velocity) const = 0;
45 
46  bool hasFaceSide(const FaceInfo & fi, const bool fi_elem_side) const override;
47 
49  virtual bool supportMeshVelocity() const { return true; }
50 };
RhieChowFaceFluxProvider(const InputParameters &params)
bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
static InputParameters validParams()
virtual bool supportMeshVelocity() const
Returns whether the UO can support mesh velocity advection.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real getVolumetricFaceFlux(const Moose::FV::InterpMethod m, const FaceInfo &fi, const Moose::StateArg &time, const THREAD_ID tid, bool subtract_mesh_velocity) const =0
Retrieve the volumetric face flux, will not include derivatives.
unsigned int THREAD_ID