How binwang0213/pygrdecl works
PyGRDECL is a Python library for parsing Eclipse/Petrel GRDECL reservoir grids and properties, converting them to VTK unstructured-grid output, and optionally decomposing grids at faults or adding custom cell data. The documented workflow is driven through GeologyModel in GRDECL2VTK.py; GRDECL_Parser.py and GRDECL_FaultProcess.py provide distinct parsing and fault-processing responsibilities. The main conversion and fault-processing sources were not sampled, so their internal calls are not asserted; relationships shown between them follow the README workflow.
Main entry points: GRDECL2VTK.py GeologyModel · GRDECL_Parser.py GRDECL parser · GRDECL_FaultProcess.py Fault decomposition · utils.py Grid utilities
Components 9
Grid input
- GRDECL files
- Custom cell data
- GRDECL parser
GRDECL_Parser.py
Model processing
- GeologyModel
GRDECL2VTK.py - Fault decomposition
GRDECL_FaultProcess.py - Grid utilities
utils.py
VTK output
- VTU file
Other components
- Library user
- ParaView
Connections 8
- Library user → GeologyModel: uses
README.md - GRDECL files → GeologyModel: loads
README.md - GeologyModel → GRDECL parser: parses
README.md - GeologyModel → Fault decomposition: decomposes
README.md - Custom cell data → GeologyModel: loads data
README.md - GeologyModel → Grid utilities: uses
- GeologyModel → VTU file: writes
README.md - VTU file → ParaView: opens
README.md