CPCHOP(1)
π CPCHOP(1) π
okay bestie, welcome to the cpchop manual page β that's a User Commands page, section 1, and honestly? she's iconic. π
β¨ NAME β¨
cpchop β Upscale simple statistics. that's it, that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
cpchop gridfilename=cornerpointgrid.grdecl [option=value]
π¦ DESCRIPTION π¦
so basically, cpchop is a little utility for doing subsampling and property analysis of Eclipse grid files. the way it usually comes up is files generated in SBED or ReservoirStudio β but lowkey she's not picky, she works on all corner point grids that have a box shape and vertical pillars. no gatekeeping here. π
here's an example of her in her natural habitat:
cpchop gridfilename=HugeReservoirStudioGrid.grdecl subsamples=100 ilen=5 jlen=5 zlen=5
like. look at her go. π
π OPTIONS π
one bullet per option, bestie, and yes I'm giving you ALL of them, no skipping the boring ones:
subsamplesβ how many subsamples you want. defaults to1.filebaseβ if you supply this, grdecl-files get written out for each subsample, named using this filebase. it may include directory names, so go off with your paths. β¨resultfileβ the name of a textfile to output the table of results per subsample to.ilenβ length in the i-direction of the subsample, specified in number of cells. defaults to all cells in the i-direction.jlenβ length in the j-direction of the subsample, specified in number of cells. defaults to all cells in the j-direction.zlenβ length in the z-direction of the subsample, specified in the grid's length unit (typicallycmorm). defaults to full height.iminβ can be used to limit the search area for random subsamples. defaults to the minimum i in the inputgrid (full model).imaxβ can be used to limit the search area for random subsamples. defaults to the maximum i in the inputgrid (full model).jminβ analog toimin, but in the j-direction. defaults to the minimum j in the inputgrid (full model).jmaxβ analog toimax, but in the j-direction. defaults to the maximum j in the inputgrid (full model).zminβ analog toimin, but in the z-direction and specified in the grid's length unit. defaults to the minimum in the inputgrid.zmaxβ analog toimax, but in the z-direction and specified in the grid's length unit. defaults to the maximum in the inputgrid.upscaleβ boolean for whether to do upscaling on the subsamples, eithertrueorfalse. if your whole objective is just to get a grdecl-file for the subsample, set this tofalsefor the run time, bestie, save yourself the wait. defaults totrue.bcβ boundary condition type for upscaling, eitherfixedorperiodic. defaults tofixed.resettooriginβ iftrue, the outputted grdecl-file will have itsZCORN-values andCOORDS-values shifted so the model is defined at the origin. iffalse, the outputted grdecl-file stays in its original position. defaults totrue.seedβ provide a seed number. defaults to0.minpermβ minimum permeability. defaults to1e-9.dipsβ whether to do dip averaging. outputs dip and azimuth for each subsample. defaults tofalse.azimuthdisplacementβ add or subtract a value for dip. assumesdipsis set totrue. defaults tozero.satnumvolumesβ count volumes per satnum/rocktype. defaults tofalse.mincellvolumeβ ignore cells with volume below the threshold. defaults to1e-9.endpointsβ upscale saturation end-points. defaults tofalse.cappresβ upscale capillary pressure. defaults tofalse.rock_listβ provide a rock list for end-point upscaling.anisotropirocksβ directional saturation functions. defaults tofalse.
π not me listing twenty-five options like it's nothing. but she ate, and you're gonna remember all of them now, periodt.
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. report it on the github repository:
https://github.com/OPM/opm-upscaling/issues
π SEE ALSO π
upscale_perm
and that's the whole page, bestie π
this was cpchop version 2023.10, from October 2023. go forth and subsample responsibly. π§β¨
π¦ 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