https://mooseframework.inl.gov
FVAdvectedVenkatakrishnanDeferredCorrection.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 
13 #include "FVInterpolationMethod.h"
14 
24 {
25 public:
27 
29 
32 
33  bool needsGradients() const override { return true; }
34 
36 
37  AdvectedSystemContribution advectedInterpolate(const FaceInfo & face,
38  Real elem_value,
39  Real neighbor_value,
40  const VectorValue<Real> * elem_grad,
41  const VectorValue<Real> * neighbor_grad,
42  Real mass_flux) const override;
43 
44 private:
49 };
GradientLimiterType
Cell-gradient limiter variants used for MUSCL-style reconstructions.
AdvectedSystemContribution advectedInterpolate(const FaceInfo &face, Real elem_value, Real neighbor_value, const VectorValue< Real > *elem_grad, const VectorValue< Real > *neighbor_grad, Real mass_flux) const override
Compute the matrix weights for the advected face value.
Interface for interpolation methods that provide matrix and RHS contributions for advected face value...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Registered base class for linear FV interpolation objects.
bool needsGradients() const override
Whether advected interpolation requires adjacent-cell gradients.
virtual Real advectedInterpolateValue(const FaceInfo &face, Real elem_value, Real neighbor_value, const VectorValue< Real > *elem_grad, const VectorValue< Real > *neighbor_grad, Real mass_flux) const
Compute the advected face value.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:37
virtual AdvectedSystemContribution advectedInterpolate(const FaceInfo &face, Real elem_value, Real neighbor_value, const VectorValue< Real > *elem_grad, const VectorValue< Real > *neighbor_grad, Real mass_flux) const =0
Compute the matrix weights for the advected face value.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _deferred_correction_factor
Scales the deferred correction strength (0 = upwind, 1 = full deferred correction).
Venkatakrishnan limiter (smooth, multidimensional).
Multi-dimensional MUSCL reconstruction using Venkatakrishnan-limited cell gradients and deferred corr...
Moose::FV::GradientLimiterType gradientLimiter() const override
Limiter used by interpolations that require limited gradients.