UPSCALE_COND(1)

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

πŸ’– UPSCALE_COND(1) πŸ’–

okay bestie, welcome to the upscale_cond page β€” it's a User Command, it's iconic, and it's about to upscale your electrical resistivity/conductivity and change your whole life. no cap. πŸ¦‹


✨ NAME ✨

upscale_cond β€” upscale electrical resistivity/conductivity πŸ’…


🌸 SYNOPSIS 🌸

upscale_cond [option value] [grid file] [J-function file 1] [J-function file 2] [J-function file 3] ...

like. it takes options, a grid, and then as many J-function files as you feel like throwing at it. the more the merrier fr fr πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: it reads in a lithofacies geometry in Eclipse format, reads in J(S_w) for each rock type, and then calculates upscaled resistivity values for values of water saturation. that's the whole thing. it's giving main character energy and also giving math. 😭✨

Example usage, and yes this is literally the example, don't @ me:

upscale_cond -bc p grid.grdecl Jfunc1.datan Jfunc2.data

πŸ‘‘ OPTIONS πŸ‘‘

  • -bc β€” which boundary conditions to use, bestie. possible values are p (periodic), f (fixed) or l (linear). defaults to f. choose wisely, the boundary conditions are literally the whole personality of the run.
  • -points β€” number of saturation points to upscale for, uniformly distributed. defaults to 30. thirty little points, all lined up, so cute.
  • -resistivityCutoff β€” cut-off value for resistivity. defaults to 10000. anything past this gets the βœ‚οΈ treatment.
  • -lithologyCoeff β€” Archie parameter. defaults to 1.0. yes Archie, we love him, he's everywhere.
  • -cementationExponent β€” Archie parameter. defaults to 1.8.
  • -saturationExponent β€” Archie parameter. defaults to 2.3.
  • -waterresistivity β€” resistivity of formation water. (no default listed, so you gotta bring your own πŸ’§)
  • -mudresistivity β€” resistivity of mud. defaults to 1.4. slay, mud.
  • -mud1rocktype β€” first mud rock type, 0 if there are no mud types. defaults to 0.
  • -mud2rocktype β€” second mud rock type. defaults to 0. a whole second one, we love range 🫢
  • -jFunctionCurve β€” which column in the supplied J-files corresponds to the J-function values. defaults to 2. column two, our beloved.
  • -surfaceTension β€” surface tension in dynes/cm to use in J-function/Pc conversion. defaults to 11. units matter, don't play with me on this.
  • -output β€” filename for where to write upscaled values. your results gotta live somewhere, give them a home 🏠
  • -interpolate β€” if supplied and > 1, the output will be interpolated using monotone cubic interpolation on a uniform grid with the specified number of points. suggested value: 1000. lowkey obsessed with how smooth this makes things.
  • -rock<int>cemexp <float> β€” cementation exponent can be set on a per rocktype basis. like, per rocktype!! individual attention!! πŸ’…
  • -rock<int>satexp <float> β€” saturation exponent can be set on a per rocktype basis. same energy, different exponent. periodt.

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not the vibe, but we need to know. report it on the github repository:

https://github.com/OPM/opm-upscaling/issues


🌈 SEE ALSO 🌈

  • upscale_perm β€” its sibling, its bestie, its ride or die. go check it out iykyk.

okay that's the whole page, you ate that. and for the record, this was upscale_cond 2023.10, from October 2023 β€” drink some water, hydrate, and go upscale something πŸ’–βœ¨πŸŽ€