문제

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