Implementation of the regularized Brooks-Corey capillary pressure / relative permeability <-> saturation relation. This class bundles the "raw" curves as static members and doesn't concern itself converting absolute to effective saturations and vice versa. More...
#include <dumux/material/fluidmatrixinteractions/2p/regularizedbrookscorey.hh>
Implementation of the regularized Brooks-Corey capillary pressure / relative permeability <-> saturation relation. This class bundles the "raw" curves as static members and doesn't concern itself converting absolute to effective saturations and vice versa.
In order to avoid very steep gradients the marginal values are "regularized". This means that in stead of following the curve of the material law in these regions, some linear approximation is used. Doing this is not worse than following the material law. E.g. for very low wetting phase values the material laws predict infinite values for \(\mathrm{p_c}\) which is completely unphysical. In case of very high wetting phase saturations the difference between regularized and "pure" material law is not big.
Regularizing has the additional benefit of being numerically friendly: Newton's method does not like infinite gradients.
The implementation is accomplished as follows:
check whether we are in the range of regularization
For an example figure of the regularization: RegularizedVanGenuchten
Public Types | |
using | Params = ParamsT |
using | Scalar = typename Params::Scalar |
Static Public Member Functions | |
static Scalar | pc (const Params ¶ms, Scalar swe) |
A regularized Brooks-Corey capillary pressure-saturation curve. More... | |
static Scalar | sw (const Params ¶ms, Scalar pc) |
A regularized Brooks-Corey saturation-capillary pressure curve. More... | |
static Scalar | endPointPc (const Params ¶ms) |
The capillary pressure at Swe = 1.0 also called end point capillary pressure. More... | |
static Scalar | dpc_dswe (const Params ¶ms, Scalar swe) |
A regularized version of the partial derivative of the \(\mathrm{p_c(\overline{S}_w)}\) w.r.t. effective saturation according to Brooks & Corey. More... | |
static Scalar | dswe_dpc (const Params ¶ms, Scalar pc) |
A regularized version of the partial derivative of the \(\mathrm{\overline{S}_w(p_c)}\) w.r.t. cap.pressure according to Brooks & Corey. More... | |
static Scalar | krw (const Params ¶ms, Scalar swe) |
Regularized version of the relative permeability for the wetting phase of the medium implied by the Brooks-Corey parameterization. More... | |
static Scalar | dkrw_dswe (const Params ¶ms, Scalar swe) |
A regularized version of the derivative of the relative permeability for the wetting phase in regard to the wetting saturation of the medium implied by the Brooks-Corey parameterization. More... | |
static Scalar | krn (const Params ¶ms, Scalar swe) |
Regularized version of the relative permeability for the non-wetting phase of the medium implied by the Brooks-Corey parameterization. More... | |
static Scalar | dkrn_dswe (const Params ¶ms, Scalar swe) |
A regularized version of the derivative of the relative permeability for the non-wetting phase in regard to the wetting saturation of the medium as implied by the Brooks-Corey parameterization. More... | |
using Dumux::RegularizedBrooksCorey< ScalarT, ParamsT >::Params = ParamsT |
using Dumux::RegularizedBrooksCorey< ScalarT, ParamsT >::Scalar = typename Params::Scalar |
|
inlinestatic |
A regularized version of the derivative of the relative permeability for the non-wetting phase in regard to the wetting saturation of the medium as implied by the Brooks-Corey parameterization.
swe | The mobile saturation of the wetting phase. |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
A regularized version of the derivative of the relative permeability for the wetting phase in regard to the wetting saturation of the medium implied by the Brooks-Corey parameterization.
swe | The mobile saturation of the wetting phase. |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
A regularized version of the partial derivative of the \(\mathrm{p_c(\overline{S}_w)}\) w.r.t. effective saturation according to Brooks & Corey.
regularized part:
For the non-regularized part:
This is equivalent to \(\mathrm{\frac{\partial p_C}{\partial \overline{S}_w} = -\frac{p_e}{\lambda} \overline{S}_w^{-1/\lambda - 1} }\)
swe | Effective saturation of the wetting phase \(\mathrm{[\overline{S}_w]}\) |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
A regularized version of the partial derivative of the \(\mathrm{\overline{S}_w(p_c)}\) w.r.t. cap.pressure according to Brooks & Corey.
regularized part:
For the non-regularized part:
pc | Capillary pressure \(\mathrm{[p_c]}\) in \(\mathrm{[Pa]}\). |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
Regularized version of the relative permeability for the non-wetting phase of the medium implied by the Brooks-Corey parameterization.
regularized part:
swe | The mobile saturation of the wetting phase. |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
Regularized version of the relative permeability for the wetting phase of the medium implied by the Brooks-Corey parameterization.
regularized part:
For not-regularized part:
swe | The mobile saturation of the wetting phase. |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
A regularized Brooks-Corey capillary pressure-saturation curve.
regularized part:
For the non-regularized part:
The Brooks-Corey empirical capillary pressure <-> saturation function is given by
\(\mathrm{ p_C = p_e\overline{S}_w^{-1/\lambda} }\)
swe | Effective saturation of the wetting phase \(\mathrm{[\overline{S}_w]}\) |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |
|
inlinestatic |
A regularized Brooks-Corey saturation-capillary pressure curve.
regularized part:
The according quantities are obtained by exploiting theorem of intersecting lines.
For the non-regularized part:
This is the inverse of the capillary pressure-saturation curve: \(\mathrm{ \overline{S}_w = (\frac{p_C}{p_e})^{-\lambda}}\)
pc | Capillary pressure \(\mathrm{[p_C]}\) in \(\mathrm{[Pa]}\). |
params | A container object that is populated with the appropriate coefficients for the respective law. Therefore, in the (problem specific) spatialParameters first, the material law is chosen, and then the params container is constructed accordingly. Afterwards the values are set there, too. |