Calculates the porosity depending on the volume fractions of precipitated minerals.
More...
template<class Scalar, int numComp, int numSolidPhases>
class Dumux::PorosityPrecipitation< Scalar, numComp, numSolidPhases >
Calculates the porosity depending on the volume fractions of precipitated minerals.
- Template Parameters
-
| Scalar | The type used for scalar values |
- Parameters
-
| numComp | The number of components in the fluid phases |
| numSolidPhases | The number of precipitating solid phases |
template<class Scalar , int numComp, int numSolidPhases>
template<class Element , class SubControlVolume , class ElemSol >
| Scalar Dumux::PorosityPrecipitation< Scalar, numComp, numSolidPhases >::evaluatePorosity |
( |
const Element & |
element, |
|
|
const SubControlVolume & |
scv, |
|
|
const ElemSol & |
elemSol, |
|
|
Scalar |
refPoro, |
|
|
Scalar |
minPoro = 0.0 |
|
) |
| const |
|
inline |
Calculates the porosity in a sub-control volume.
- Parameters
-
| element | Element |
| elemSol | The element solution |
| scv | Sub control volume |
| refPoro | The solid matrix porosity without precipitates |
| minPoro | A minimum porosity value |