This file contains different higher order methods for approximating the velocity. More...
#include <dumux/freeflow/staggeredupwindmethods.hh>
This file contains different higher order methods for approximating the velocity.
Public Member Functions | |
StaggeredUpwindMethods (const std::string ¶mGroup="") | |
TvdApproach | tvdApproachFromString (const std::string &tvd) |
Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the TVD Approach. More... | |
std::string | tvdApproachToString (TvdApproach tvd) |
return the name of the TVD approach More... | |
DifferencingScheme | differencingSchemeFromString (const std::string &differencingScheme) |
Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the Discretization Method. More... | |
std::string | differencingSchemeToString (DifferencingScheme differencingScheme) |
return the name of the Discretization Method More... | |
Scalar | upwind (const Scalar downstreamMomentum, const Scalar upstreamMomentum) const |
Upwind Method. More... | |
Scalar | tvd (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream, const TvdApproach tvdApproach) const |
Tvd Scheme: Total Variation Diminishing. More... | |
Scalar | tvdUniform (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const |
Tvd Scheme: Total Variation Diminishing. More... | |
Scalar | tvdLi (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const |
Tvd Scheme: Total Variation Diminishing. More... | |
Scalar | tvdHou (const std::array< Scalar, 3 > &momenta, const std::array< Scalar, 3 > &distances, const bool selfIsUpstream) const |
Tvd Scheme: Total Variation Diminishing. More... | |
const TvdApproach & | tvdApproach () const |
Returns the Tvd approach. More... | |
const DifferencingScheme & | differencingScheme () const |
Returns the differencing scheme. More... | |
Static Public Member Functions | |
static Scalar | vanleer (const Scalar r, const Scalar R) |
Van Leer flux limiter function [Van Leer 1974]. More... | |
static Scalar | vanalbada (const Scalar r, const Scalar R) |
Van Albada flux limiter function [Van Albada et al. 1982]. More... | |
static Scalar | minmod (const Scalar r, const Scalar R) |
MinMod flux limiter function [Roe 1985]. More... | |
static Scalar | superbee (const Scalar r, const Scalar R) |
SUPERBEE flux limiter function [Roe 1985]. More... | |
static Scalar | umist (const Scalar r, const Scalar R) |
UMIST flux limiter function [Lien and Leschziner 1993]. More... | |
static Scalar | mclimiter (const Scalar r, const Scalar R) |
static Scalar | wahyd (const Scalar r, const Scalar R) |
WAHYD Scheme [Hou, Simons, Hinkelmann 2007];. More... | |
|
inline |
|
inline |
Returns the differencing scheme.
|
inline |
Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the Discretization Method.
|
inline |
return the name of the Discretization Method
|
inlinestatic |
|
inlinestatic |
MinMod flux limiter function [Roe 1985].
|
inlinestatic |
SUPERBEE flux limiter function [Roe 1985].
With R != 2 is the modified SUPERBEE flux limiter function [Hou, Simons, Hinkelmann 2007]
|
inline |
Tvd Scheme: Total Variation Diminishing.
|
inline |
Returns the Tvd approach.
|
inline |
Convenience function to convert user input given as std::string to the corresponding enum class used for choosing the TVD Approach.
|
inline |
return the name of the TVD approach
|
inline |
Tvd Scheme: Total Variation Diminishing.
This function manages the non uniformities of the grid according to [Hou, Simons, Hinkelmann 2007]. It should behave better then the Li's version in very stretched grids.
|
inline |
Tvd Scheme: Total Variation Diminishing.
This function manages the non uniformities of the grid according to [Li, Liao 2007]. It tries to reconstruct the value for the velocity at the upstream-upstream point if the grid was uniform.
|
inline |
Tvd Scheme: Total Variation Diminishing.
This function assumes the cell size distribution to be uniform.
|
inlinestatic |
UMIST flux limiter function [Lien and Leschziner 1993].
|
inline |
Upwind Method.
|
inlinestatic |
Van Albada flux limiter function [Van Albada et al. 1982].
|
inlinestatic |
Van Leer flux limiter function [Van Leer 1974].
With R != 2 is the modified Van Leer flux limiter function [Hou, Simons, Hinkelmann 2007]
|
inlinestatic |
WAHYD Scheme [Hou, Simons, Hinkelmann 2007];.