Skip to content

Very first version of an python - OGS interface.

Tom Fischer requested to merge TomFischer/ogs:ogs_as_python_module into master

The MR provides an OpenGeoSys python module. At present the module has an initialize(), an executeSimulation(), and a finalize() function. In the future the executeSimulation() function should be substituted by other functions, like

  • update
  • status
  • time
  • validate
  • inputs
  • outputs

to allow for better control of OGS execution and coupling to other simulation software.

As a side-effect this also bumps required CMake version to 3.22. I (@bilke) would have done the bump anyway in the next two weeks (as I plan to use some recent CMake features to improve our CMake logic).

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?

Next steps:

  • Revert 5ff907f4 (due to CMake bump)
  • Make ogs with this Python interface available as a pip or conda module
  • Enable functionality on Windows Release
  • Iterate on this interface
Edited by Lars Bilke

Merge request reports