UPSCALE_RELPERMVISC(1)

πŸ“¦
version 2025.10 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 are p (periodic), f (fixed) or l (linear). defaults to f.
  • -points β€” the number of saturation points to upscale for, uniformly distributed. defaults to 30.
  • -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 to 2.
  • -oilCurve β€” which column number in the rock files represents relative permeability for oil. defaults to 3.
  • -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 than 0, 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 to 1e-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 πŸ«ΆπŸ’œ