mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remark That 3pt EPS Changes Function Shape in [Sr, Smax]
The three-point vertical scaling option will usually change the shape of the relative permeability function in the saturation interval between the scaled critical displacing saturation and the maximum phase saturation. In particular, we usually replace a general, non-linear function with a linear approximation when applying three-point vertical scaling. Add a comment to that effect.
This commit is contained in:
@@ -516,7 +516,9 @@ vertScale(const FunctionValues& f,
|
||||
// s \in [sr, sm), sm > sr; normal case: Kr(Smax) > Kr(Sr).
|
||||
//
|
||||
// Linear function between (sr,fr) and (sm,fm) in terms of
|
||||
// function value 'y'.
|
||||
// function value 'y'. This usually alters the shape of the
|
||||
// relative permeability function in this interval (e.g.,
|
||||
// roughly quadratic to linear).
|
||||
const auto t = (y - fdisp) / (fmax - fdisp);
|
||||
|
||||
y = fr + t*(fm - fr);
|
||||
@@ -525,7 +527,9 @@ vertScale(const FunctionValues& f,
|
||||
// s \in [sr, sm), sm > sr; special case: Kr(Smax) == Kr(Sr).
|
||||
//
|
||||
// Use linear function between (sr,fr) and (sm,fm) in terms of
|
||||
// saturation value 's'.
|
||||
// saturation value 's'. This usually alters the shape of the
|
||||
// relative permeability function in this interval (e.g.,
|
||||
// roughly quadratic to linear).
|
||||
const auto t = (s - sr) / (sm - sr);
|
||||
|
||||
y = fr + t*(fm - fr);
|
||||
|
||||
Reference in New Issue
Block a user