GocadSGridReader
Introduction
The tool GocadSGridReader reads a GOCAD stratigraphic grid (.sg)
and writes the data in the open VTK unstructured grid file format (.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.
Usage
Running GocadSGridReader tool will print the required arguments and a short usage message; for detailed usage add the --help argument.
bin/GocadSGridReader -s <file_name.sg> -o <file_name.vtu>
[-f <true/false>] [--] [--version] [-h]
Where:
-s <file_name.sg>, --sg <file_name.sg>
(required) Gocad stratigraphic grid file name
-o <file_name.vtu>, --output-mesh <file_name.vtu>
(required) vtk unstructured grid file name
-f <true/false>, --generate-face-sets <true/false>
generate face sets; default false, i.e. do not generate face setsExample
GocadSGridReader -s flow_simulation_grid_klein_Rinne.sg -o flow_simulation_grid_klein_Rinne.vtu
Applications
Thuringia syncline (INFLUINS project)
Publication
T. Fischer et al. (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, Publisher link@article{Fischer:2015,
author = {Fischer, T. and Naumov, D. and Sattler, S. and Kolditz, O. and and Walther, M.},
category = {Workflows},
doi = {10.5194/gmd-8-3681-2015},
journal = {Geosci. Model Dev.},
pages = {3681–3694},
title = {GO2OGS 1.0: a versatile workflow to integrate complex geological information with fault data into numerical simulation models},
url = {https://www.geosci-model-dev.net/8/3681/2015/gmd-8-3681-2015.pdf},
volume = {8},
year = {2015}
}
Other
- 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 reach out
to us on our forum.
Generated with Hugo 0.164.0
in CI job 825193
|
Last revision: April 20, 2026
Commit: refactor(MeshLib): remove PropertyVector::push_back 870422dde
| Edit this page on