How do you get access to the cell sides (DX,DY,DZ) from a grid model that is loaded in Petrel?

I can get the cell volume corresponding to a particular index, but how can I get the cell side in the same way?

有帮助吗?

解决方案

You should use the Grid method GetCellCorners(Index3, CellCorner[]) to get cell point corners' coordinates (you will have 8 of them for each cell), and then compute cell sides. But be aware that grid cells are not necessarily rectangular boxes, so, for example, you may have 4 different DZs in one cell.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top