The tool GocadSGridReader reads a Gocad stratigraphic grid (file ending sg) and writes the data in the open vtk unstructured grid file format (file ending vtu). The tool doesn’t change the geometry, i.e., it doesn’t change the element quality. Thus, the mesh may not be usable for finite mesh element simulations immediately.

The tool is part of the official OpenGeoSys git repository and is build when the OGS_BUILD_UTILS cmake switch is set ON. The build executable GocadSGridReader is placed in the bin directory. The tool is a command line tool.


Running GocadSGridReader tool will print the required arguments and a short usage message; for detailed usage add the --help argument.


GocadSGridReader -s flow_simulation_grid_klein_Rinne.sg -o flow_simulation_grid_klein_Rinne.vtu


Thuringia Syncline (INFLUINS project)

The tool was used to convert Gocad stratigraphic grids (‘GoCad Model’ in figure below) of the Thuringia syncline to a vtk unstructured grid (‘VTU’ in the figure) within the INFLUINS project. Further conversion steps were taken to prepare the mesh for the simulation (not part of this tool, see Fischer et al. 2015).

Fischer, T. and Naumov, D. and Sattler, S. and Kolditz, O. and Walther, M. ( 2015 ): GO2OGS 1.0: A versatile workflow to integrate complex geological information with fault data into numerical simulation models. Geosci. Model Dev. vol. 8, p. 3681-3694, DOI: 10.5194/gmd-8-3681-2015,


Rotenburger Rinne (Geologischer Dienst für Niedersachsen, Referat Hydrogeologie Landesamt für Bergbau, Energie und Geologie (Jörg Elbracht))

Heat storage model HH (Christian-Albrechts-Universität zu Kiel, Institut für Geowissenschaften (Janine Struß))

Geothermal project (British Geological Survey (Richard Haslam))

This article was written by Thomas Fischer. If you are missing something or you find an error please let us know. Generated with Hugo 0.53. Last revision: January 21, 2019
Commit: [GO2OGS] Make docu more clear. 633c57163  | Edit this page on

Creative Commons License | Privacy policy / Legal statements / Impressum