Re:App gives Deltares direct insight into 6 million lines of Fortran code

Share this:

The challenge

About Deltares

Deltares is an independent research institute specializing in applied research in the field of water and the subsurface, with over 900 employees in Delft and Utrecht. D-Flow FM is the computational engine of Delft3D FM, which Deltares uses to simulate flow and water levels in rivers, lakes, and coastal areas.

Hidden logic and siloed knowledge

The D-Flow FM calculation kernel was written largely in Fortran and has been continuously expanded over the course of several decades. Senior developers and domain experts who worked on the original software either retired or left the company. This posed a risk that knowledge about undocumented dependencies would be lost. Developers needed quick answers to questions about call trees, global state, and the relationship between the code and the technical reference documentation.

In a nutshell

Six million lines of Fortran code are instantly searchable

Client and sector

Deltares, Delft · Government & Public Sector

Company size

900+ employees

SUE service

Application Modernization (Re:App)

Technology

Fortran, CMake, Re:App (Knowledge Graph, AI agents), Mermaid

Duration

3 months

Results

approximately six million lines of code analyzed

The solution

Re:App Reverse Architecting

At first, Deltares wanted to provide insight into how the application was structured; replacement was not the first step. SUE included the entire codebase in Re:App, along with the CMake build configurations, utility libraries, and technical documentation. In this way, Re:App established connections across the entire application, transcending file boundaries.

Knowledge graph and AI agents

In a Knowledge Graph, SUE linked subroutines and variables to the documentation and hydrological formulas. Specialized AI agents create, among other things, call-tree diagrams in Mermaid. Developers and domain experts at Deltares tested the results via the chat interface at Re:App and verified the answers immediately.

SUE's consultant explains an architectural sketch on a whiteboard
Han van Veldhuizen, Director of Digital Technology, Deltares
"We are pleased with the results of the project. Re:App provides us with an easier way to gain a better understanding of the complex code behind our software."

The result

From hours of searching for answers to just seconds

Investigating complex code paths used to take hours or days of manual work using tools like grep. Now, developers can ask Re:App the same architectural questions directly and receive the relevant code, dependencies, and documentation within seconds. Because Re:App bases its analyses on files and relationships that actually exist in the codebase, there is less room for fabricated references. The approach was evaluated against predefined success criteria and compared to AI coding assistants such as GitHub Copilot.

To learn how SUE modernizes an outdated application step by step, visit the page Application Modernization. The Application Modernization Assessment provides a free modernization plan within five business days.

The results at a glance

  • Approximately six million lines of Fortran code analyzed

  • Architecture questions answered in seconds instead of hours

  • Code linked to documentation and formulas

  • Automatic Call Tree Diagrams in Mermaid

  • Less Room for Hallucinations Thanks to the Knowledge Graph

Do you have a handle on your own legacy code?

Request the free " Application Modernization " Assessment: within five business days, you'll have a modernization plan for your application. Stefan Behlen will contact you within one business day.

Stefan Behlen
Stefan Behlen

Let’s talk


Do you have a handle on your own legacy code?

Request the free " Application Modernization " Assessment: within five business days, you'll have a modernization plan for your application. Stefan Behlen will contact you within one business day.

* required

For example: your question, your current situation, or your deadline.
We will respond within one business day. By submitting this form, you confirm that you have read and understood our privacy policy.