Skip to content
Snippets Groups Projects
Commit cccc36c5 authored by Timo Koch's avatar Timo Koch
Browse files

[efftoabs] Add sneToSn for symmetry reasons

parent 3a686988
No related branches found
No related tags found
1 merge request!1928[efftoabs] Add sneToSn for symmetry reasons
...@@ -250,6 +250,20 @@ public: ...@@ -250,6 +250,20 @@ public:
static Scalar sweToSw_(const Params &params, Scalar swe) static Scalar sweToSw_(const Params &params, Scalar swe)
{ return sweToSw(params, swe); } { return sweToSw(params, swe); }
/*!
* \brief Convert an effective non-wetting saturation to an absolute one.
*
* \param sne Effective saturation of the non-wetting phase \f$\mathrm{[{S}_n]}\f$.
* \param 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.
* \return Absolute saturation of the non-wetting phase.
*/
static Scalar sneToSn(const Params &params, Scalar sne)
{
return sne*(1. - params.swr() - params.snr()) + params.snr();
}
/*! /*!
* \brief Derivative of the effective saturation w.r.t. the absolute saturation. * \brief Derivative of the effective saturation w.r.t. the absolute saturation.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment