This file contains different higher order methods for approximating the velocity.
More...
template<class Scalar, int upwindSchemeOrder>
class Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >
This file contains different higher order methods for approximating the velocity.
|
| | 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 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...
|
| |
template<class Scalar , int upwindSchemeOrder>
| Scalar Dumux::StaggeredUpwindMethods< Scalar, upwindSchemeOrder >::tvdHou |
( |
const std::array< Scalar, 3 > & |
momenta, |
|
|
const std::array< Scalar, 3 > & |
distances, |
|
|
const bool |
selfIsUpstream |
|
) |
| const |
|
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.