Video Tutorial

In this three-part tutorial we look at the mechanical deformation of a sedimentary basin under an advancing glacier. In detail we show you a possibility how to

  • create a mesh with Gmsh,
  • implement space- and time-dependent boundary conditions,
  • write an OGS input file,
  • visualize the results with ParaView.

As a common programming language we use Python.

Part 1: Preprocessing

Part 2: Solving

Part 3: Postprocessing

Supplementary material

NOTE: Due to ongoing development, was integrated in the ogs-repository for ogstools. In order to work with the tutorial and apply msh2vtu on mesh_basin.msh, ogstools need to be installed at first.

ogstools can be installed from PyPI using pip. It is recommended to set up a virtual environment beforehand:

python -m venv .venv
source .venv/bin/activate
pip install ogstools

More detailed information about the usages and development of ogstools can be found in ogstools Documentation. After installation the tool can be applied as described in the first video-tutorial. To apply msh2vtu on the mesh_basin.msh the command should look like:

msh2vtu --ogs --rdcd mesh_basin.msh

This article was written by Dominik Kern. If you are missing something or you find an error please let us know.
Generated with Hugo 0.101.0 in CI job 319943 | Last revision: February 16, 2023
Commit: [PL] Extract another loop and collection of IVs de82977c1  | Edit this page on