UPSCALE_RELPERMVISC(1)
π UPSCALE_RELPERMVISC π
okay bestie, gather round, because we're about to upscale some relative permeability and honestly? it's giving iconic. this is a page from section 1 of the User Commands manual, and the command itself is literally called upscale_relpermvisc. yes queen, say it with your chest.
β¨ NAME β¨
upscale_relpermvisc β upscale two-phase relative permeability π¦
πΈ SYNOPSIS πΈ
upscale_relpermvisc [option=value] [grid file] [rock file 1] [rock file 2] [rock file 3] ...
π DESCRIPTION π
so the whole point of this thing is that it upscales two-phase relative permeability in the capillary limit, specifically for lithofacies models that are described by Eclipse corner point grids. that's the vibe. that's the assignment. periodt.
here's an example of how you'd actually run it:
upscale_relpermvisc -bc p grid.grdecl swof1.inc swof2.inc
and for isotropic input, the rock file has four columns, and it looks exactly like this:
-- Stone 1 -- Sw Krw Kro J-func
1.42000E-01 0.00000E+00 1.00000E+00 2.25999E+00
2.79250E-01 1.93652E-03 5.03619E-01 5.76122E-02
4.14850E-01 1.09648E-02 2.36036E-01 -1.23421E-02
6.14150E-01 4.10007E-02 3.95006E-02 -8.96693E-02
7.26100E-01 1.41398E-01 9.30808E-03 -1.19849E-01
9.48000E-01 8.40000E-01 0.00000E+00 -1.42553E+00
look at those numbers. immaculate. no notes. π
π₯ OPTIONS π₯
-bcβ which boundary conditions you're using, bestie. possible values arep(periodic),f(fixed) orl(linear). defaults tof.-pointsβ the number of saturation points to upscale for, uniformly distributed. defaults to30.-waterViscosityβ viscosity of water, given in Pascal seconds (remember:1000 cP = 1 Pa s).-oilViscosityβ viscosity of oil, also given in Pascal seconds (1000 cP = 1 Pa s).-waterCurveβ which column number in the rock files represents relative permeability for water. defaults to2.-oilCurveβ which column number in the rock files represents relative permeability for oil. defaults to3.-outputWaterβ filename for where to write the upscaled values for water relperm. if you don't supply it, the output only goes to the terminal (standard out).-outputOilβ filename for where to write the upscaled values for oil relperm. if you don't supply it, the output only goes to the terminal (standard out).-interpolateβ if you use this option, the outputted values will be interpolated values using the supplied number of points (that's an integer larger than0, okurrr). monotone cubic interpolation is what's used, and it will thus produce a smooth curve for a few number of saturation points. so smooth. so slay. β¨-minPermβ the minimum floating point value allowed for phase permeability in computations. π¨ heads up: if you set this to zero, some models can end up singular. defaults to1e-12.
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. report it on the github repository at <https://github.com/OPM/opm-upscaling/issues>
π SEE ALSO π
upscale_relperm
and that's the whole page, fr fr. this manual page is upscale_relpermvisc 2023.10 and it was dated October 2023. thanks for coming to my ted talk, ily, go upscale something pretty π«Άπ
π¦ where this page comes from
- debian trixie: libopm-upscaling-bin 2024.10+ds-1+b1 Β· GPL-3.0-or-later
- ubuntu questing: libopm-upscaling-bin 2025.04+ds-1
- ubuntu resolute: libopm-upscaling-bin 2025.10+ds-2 Β· GPL-3.0-or-later
- ubuntu stonking: libopm-upscaling-bin 2025.10+ds-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms