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.
Client/Company/Industry
GFZ Helmholtz Centre for Geosciences
Duration
24 months
Product
Service
Expertise
Software Development
Goal
The goal of the project was to make the existing RIM2D simulation model accessible to a broader range of users in a simpler way. For this purpose, a web application was to be developed that simplifies model creation, model control, and the visualization of simulation results while also enabling the use of cloud-based GPU environments. As part of a strategic partnership, the research code was to be further developed toward a market-ready product.
Tasks
- Designing and implementing a modern frontend with React and Next.js
- Developing performant and reliable forms with React Hook Form
- Building the UI with Material UI and SASS, including component-based design, responsiveness, and theming
- Integrating OpenLayers for the visualization of and interaction with georeferenced data
- Implementing drag-and-drop functionality with DnD Kit
- Integrating and transforming geographic coordinates with Proj4
- Ensuring a maintainable code style with TypeScript, ESLint, and automated formatting
- Developing and providing REST APIs with Flask and Gunicorn
- Modeling and accessing relational data with SQLAlchemy
- Implementing JWT-based authentication and authorization with PyJWT
- Processing geospatial inputs with GDAL for the transformation, analysis, and validation of spatial data
- Establishing a standardized backend codebase with Black
- Documenting components, APIs, and security logic
- Using the existing GFZ simulation code as the basis for the web platform
Challenges
A key challenge was transforming an existing scientific research codebase into a usable web platform for cloud-based GPU simulations. At the same time, geodata processing, map integration, model control, security logic, and backend services had to be brought together within a consistent and maintainable architecture. In addition, the domain-specific requirements of the research context had to be translated into a form suitable for later product use.
Programming Languages
Python, JavaScript/TypeScript
Technologies
Black, DnD Kit, Flask, GDAL, Gunicorn, Material UI, Next.js, OpenLayers, Proj4, React, React Hook Form, REST, SQLAlchemy, TypeScript
Visualization of the flood event in the Ahr Valley at a spatial resolution of 10 meters, simulated accurately within a few minutes.
Client website: www.rim2d.eu
Similar problem?
Contact usTakeaway
The result was a web platform for running cloud-based GPU simulations with RIM2D. The solution met the defined requirements and became a core component of the client’s SaaS product. Through the strategic partnership, we actively supported the transfer from research to practice and helped pave the way for RIM2D to move from a scientific context toward market entry.
Similar Projects
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.
Data Lake for Geoscience Research Data Management
We developed an Open-Source S3-based data lake solution for the centralized ingestion, categorization, and searchability of data. The goal was to automate and improve manual data management through an integrated architecture with workflow orchestration, data cataloging, and access control.