https://mooseframework.inl.gov
FVAdvectedUpwind.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 
19 {
20 public:
22 
23  FVAdvectedUpwind(const InputParameters & params);
24 
27 
29  Real,
30  Real,
31  const VectorValue<Real> *,
32  const VectorValue<Real> *,
33  Real mass_flux) const override;
34 
36  Real elem_value,
37  Real neighbor_value,
38  const VectorValue<Real> *,
39  const VectorValue<Real> *,
40  Real mass_flux) const override;
41 };
AdvectedSystemContribution advectedInterpolate(const FaceInfo &face, Real, Real, const VectorValue< Real > *, const VectorValue< Real > *, 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.
FVAdvectedUpwind(const InputParameters &params)
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.
Upwind interpolation for advected quantities based on the sign of the face mass flux.
Real advectedInterpolateValue(const FaceInfo &face, Real elem_value, Real neighbor_value, const VectorValue< Real > *, const VectorValue< Real > *, Real mass_flux) const override
Compute the advected face value.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Matrix/RHS contribution for an advected face interpolation.
static InputParameters validParams()