UPSCALE_COND(1)
π 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 arep(periodic),f(fixed) orl(linear). defaults tof. choose wisely, the boundary conditions are literally the whole personality of the run.-pointsβ number of saturation points to upscale for, uniformly distributed. defaults to30. thirty little points, all lined up, so cute.-resistivityCutoffβ cut-off value for resistivity. defaults to10000. anything past this gets the βοΈ treatment.-lithologyCoeffβ Archie parameter. defaults to1.0. yes Archie, we love him, he's everywhere.-cementationExponentβ Archie parameter. defaults to1.8.-saturationExponentβ Archie parameter. defaults to2.3.-waterresistivityβ resistivity of formation water. (no default listed, so you gotta bring your own π§)-mudresistivityβ resistivity of mud. defaults to1.4. slay, mud.-mud1rocktypeβ first mud rock type,0if there are no mud types. defaults to0.-mud2rocktypeβ second mud rock type. defaults to0. a whole second one, we love range π«Ά-jFunctionCurveβ which column in the supplied J-files corresponds to the J-function values. defaults to2. column two, our beloved.-surfaceTensionβ surface tension in dynes/cm to use in J-function/Pc conversion. defaults to11. 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 πβ¨π
π¦ 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