CPREGULARIZE(1)

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

✨ 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.
  • CornerPointChopper can 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 to 1.
  • jres β€” resolution in the j-direction. Defaults to 1.
  • zres β€” resolution in the z-direction. Defaults to 1.
  • 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 to imin, but in the j-direction. Defaults to the minimum j in inputgrid (full model).
  • jmax β€” analog to imax, but in the j-direction. Defaults to the maximum j in inputgrid (full model).
  • zmin β€” analog to imin, but in the z-direction, and specified in the grid's length unit. Defaults to the minimum in inputgrid.
  • zmax β€” analog to imax, 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 🫢