Tip
Visit the docs at https://sintefmath.github.io/Fimbul.jl/dev/
Fimbul.jl is a Julia-based toolbox for geothermal simulations based on JutulDarcy.jl, a fully differentiable, high-performance porous media simulator toolbox. Fimbul and JutulDarcy are developed by the Applied Computational Science group at SINTEF Digital.
To get started with Fimbul, install Julia and follow these steps:
- Make a project folder in a suitable location and navigate to it
mkdir fimbul-testing
cd fimbul-testing/
- Start a Julia REPL in the project folder, activate an environment, and add Fimbul and JutulDarcy. We will also add GLMakie for plotting.
using Pkg; Pkg.activate(".");
Pkg.add("Fimbul");
Pkg.add("JutulDarcy");
Pkg.add("GLMakie");
Pkg.instantiate()
You are now ready to run your first simulation! Fimbul comes with a number of example cases for geothermal energy applications. To check that everything works, you can run a small geothermal doublet case:
using Fimbul, JutulDarcy
using GLMakie
case = egg_geothermal_doublet()
result = simulate_reservoir(case)
plot_reservoir(case, result.states;
colormap = :seaborn_icefire_gradient, key = :Temperature)
The first time you run this code, Julia will compile the packages, which may take a few minutes. Subsequent runs will be much faster.
Note
Interactive plotting requires GLMakie
, which may not work if you are running Julia over SSH.
Fimbul.jl is licensed under the MIT License. See LICENSE for details.
Copyright (c) 2025 Øystein Klemetsdal, SINTEF Digital and Contributors