CPREGULARIZE(1)
β¨ CPREGULARIZE β okay so hear me out bestie β¨
Manual page CPREGULARIZE(1) from the User Commands section, and honestly? It's giving grid glow-up π
πΈ NAME πΈ
cpregularize β the program that regularizes cornerpoint grids, periodt β¨
π SYNOPSIS π
cpregularize gridfilename=cornerpointgrid.grdecl [option=value]
π¦ DESCRIPTION π¦
Okay so it's a program to regularize cornerpoint grids. Iconic. But bestie, we need to talk about the caveats first, because not knowing these is not the vibe π
- Only grids with vertical pillars β that's the rule, no cap.
CornerPointChoppercan only chop along existing pillars. So if the horizontal resolution you asked for doesn't divide the initial number of pillars in x/y, you will not obtain a fully regular grid β but it's still easier numerically, so like, lowkey fine π«Ά- Be careful with non-flat top and bottom boundary. Fr fr, watch out.
Example usage, screenshot this πΈ:
cpregularize gridfilename=grid.grdecl ires=5 jres=5 zres=5 resultgrid=regularizedgrid.grdecl
π OPTIONS π
resultgridβ the file name for your regular grid. Name it something cute πiresβ resolution in the i-direction. Defaults to1.jresβ resolution in the j-direction. Defaults to1.zresβ resolution in the z-direction. Defaults to1.iminβ can be used to limit the search area for random subsamples. Defaults to the minimum i in inputgrid (full model).imaxβ can be used to limit the search area for random subsamples. Defaults to the maximum i in inputgrid (full model).jminβ analog toimin, but in the j-direction. Defaults to the minimum j in inputgrid (full model).jmaxβ analog toimax, but in the j-direction. Defaults to the maximum j in inputgrid (full model).zminβ analog toimin, but in the z-direction, and specified in the grid's length unit. Defaults to the minimum in inputgrid.zmaxβ analog toimax, but in the z-direction, and specified in the grid's length unit. Defaults to the maximum in inputgrid.minpermβ cut-off value for permeability. βοΈ
π REPORTING BUGS π
Found a bug? Not the main character moment we wanted, but go tell the devs on the github repository: https://github.com/OPM/opm-upscaling/issues π
π SEE ALSO π
upscale_perm
That's the whole page bestie, you ate that π β¨
Sign-off vibes: this is cpregularize version 2023.10, dated October 2023. Slay π«Ά
π¦ 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