This file contains functions related to calculate pore-throat properties.
#include <string>#include <cmath>#include <numeric>#include <dune/common/exceptions.hh>#include <dune/common/reservedvector.hh>Go to the source code of this file.
| Namespaces | |
| namespace | Dumux | 
| namespace | Dumux::PoreNetwork | 
| namespace | Dumux::PoreNetwork::Throat | 
| Enumerations | |
| enum class | Dumux::PoreNetwork::Throat::Shape { Dumux::PoreNetwork::Throat::scaleneTriangle , Dumux::PoreNetwork::Throat::equilateralTriangle , Dumux::PoreNetwork::Throat::square , Dumux::PoreNetwork::Throat::rectangle , Dumux::PoreNetwork::Throat::circle , Dumux::PoreNetwork::Throat::twoPlates , Dumux::PoreNetwork::Throat::polygon } | 
| Collection of different pore-throat shapes.  More... | |
| Functions | |
| std::string | Dumux::PoreNetwork::Throat::shapeToString (Shape s) | 
| Get the shape from a string description of the shape. | |
| Shape | Dumux::PoreNetwork::Throat::shapeFromString (const std::string &s) | 
| Get the shape from a string description of the shape. | |
| template<class Scalar> | |
| Scalar | Dumux::PoreNetwork::Throat::averagedRadius (const Scalar poreRadiusOne, const Scalar poreRadiusTwo, const Scalar centerTocenterDist, const Scalar n=0.1) | 
| Returns the radius of a pore throat. | |
| template<class Scalar> | |
| Dune::ReservedVector< Scalar, 4 > | Dumux::PoreNetwork::Throat::cornerHalfAngles (Shape shape) | 
| Returns the corner half angle. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::shapeFactorEquilateralTriangle () noexcept | 
| Returns the value of the shape factor for an equilateral triangle. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::shapeFactorSquare () noexcept | 
| Returns the value of the shape factor for a square. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::shapeFactorRectangle (const Scalar inscribedRadius, const Scalar height) noexcept | 
| Returns the value of the shape factor for a rectangle. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::shapeFactorCircle () noexcept | 
| Returns the value of the shape factor for a circle. | |
| template<class Scalar> | |
| Scalar | Dumux::PoreNetwork::Throat::shapeFactor (Shape shape, const Scalar inscribedRadius) | 
| Returns the value of the shape factor for a given shape. | |
| template<class Scalar> | |
| constexpr Shape | Dumux::PoreNetwork::Throat::shape (const Scalar shapeFactor) noexcept | 
| Returns the shape for a given shape factor. | |
| bool | Dumux::PoreNetwork::Throat::isRegularShape (Shape shape) | 
| Returns if a shape is regular. | |
| template<class Scalar> | |
| Scalar | Dumux::PoreNetwork::Throat::totalCrossSectionalArea (const Shape shape, const Scalar inscribedRadius) | 
| Returns the cross-sectional area of a given geometry. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::totalCrossSectionalAreaForRectangle (const Scalar inscribedRadius, const Scalar height) noexcept | 
| Returns the cross-sectional area of a rectangle. | |
| std::size_t | Dumux::PoreNetwork::Throat::numCorners (Shape shape) | 
| Returns the number of corners of a given geometry. | |
| template<class Scalar> | |
| constexpr Scalar | Dumux::PoreNetwork::Throat::wettingLayerCrossSectionalArea (const Scalar curvatureRadius, const Scalar contactAngle, const Scalar cornerHalfAngle) noexcept | 
| Return the cross-sectional area of a wetting layer residing in a corner of a throat. | |