Meshit: 3D volumetric meshing of complex faulted reservoirs
Further development and stabilisation of the open-source tool MeshIt for computing three-dimensional volumetric meshes – commissioned by the Technical University of Munich.
Client/Company/Industry
Technical University of Munich (TUM)
Duration
7 months
Product
Open-Source Software
Expertise
Software Development
Goal
MeshIt is an open-source tool developed by GFZ for computing three-dimensional volumetric meshes from geological structure data. Commissioned by TU Munich, the goal was to extend, stabilise, and enrich the tool with new interaction capabilities - making it more practical for use in an academic research context.
Tasks
- Improved 3D navigation through sensitivity tuning and additional projection modes
- Development of new selection tools including polygon selection and paint bucket tool
- Development of an algorithm for automatic geometry element selection
- Extension of GUI elements to integrate the new features
- Improved error handling with visual diagnostic output
- Cross-platform build and runtime compatibility on Linux, macOS, and Windows
Challenges
The greatest challenges lay in the existing codebase: fundamental bugs were causing sporadic crashes that were difficult to trace in a complex, grown C/C++ application. Resolving them systematically required deep understanding of the program's architecture.
In addition, the multi-threading implementation contained race conditions leading to non-deterministic behaviour. Correcting these concurrency issues without introducing regressions required careful analysis and targeted intervention in thread synchronisation.
Programming Languages
C, C++
Technologies
Qt, OpenGL, tetgen, triangle, qmake
MeshIt interface showing a three-dimensional mesh visualisation with selection tools.
Similar problem?
Contact usTakeaway
After the project, MeshIt ran stably across all three target platforms. Resolving the crashes and race conditions fundamentally improved the software's reliability. The new selection and navigation tools meaningfully expand its practical utility in a scientific setting.
Similar Projects
RIM2D: Highly Efficient 2D Hydraulic Flooding Simulation
RIM2D is an existing, highly efficient 2D hydraulic simulation model for fluvial, pluvial, and urban flooding. As part of a strategic partnership, we supported the extension of the research code with a web application and a cloud-based GPU simulation environment, enabling its transition into a market-ready product.
ResiLens - Better Decisions for Climate Adaptation (MVP Development)
ResiLens helps organisations decide where to invest, which measures to choose, and what value those investments create. The platform replaces fragmented adaptation workflows with an end-to-end decision engine. We supported the design, development, and operation of its MVP, from architecture to its running application, services, cloud infrastructure, and CI/CD.