Code_Saturne is an open-source software used for computational fluid dynamics and developed by EDF.
1.5K
This repository provides Docker images for running code_saturneā in a reproducible and portable environment, including graphical access via X11 when needed.
The currently available image is:
simvia/code_saturne:9.0.0
This corresponds to the official code_saturne release 9.0.0.
The container runs the code_saturne command directly via its entrypoint.
To run it in command-line mode:
docker run --rm \
--mount type=bind,source=$(pwd),target=/home/code_saturne \
simvia/code_saturne:9.0.0
This assumes your current directory contains a valid case, which will be mounted at /home/code_saturne inside the container.
To open the code_saturne GUI via X11, pass the gui argument and enable X11 forwarding:
docker run --rm \
--mount type=bind,source=$(pwd),target=/home/code_saturne \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
simvia/code_saturne:9.0.0 gui
You can define an alias to simplify launching the GUI:
alias code_saturne='docker run --rm \
--mount type=bind,source=$(pwd),target=/home/code_saturne \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
simvia/code_saturne:9.0.0'
Then just run:
code_saturne gui
š Make sure X11 connections are allowed on your host (xhost +local: may be required).
/home/code_saturne (bound to your local folder)code_saturne gui
code_saturne run
Other subcommands (create, info, etc.) are also available.
These images are maintained by the Simviaā team!
Content type
Image
Digest
sha256:7639bc95bā¦
Size
565.2 MB
Last updated
3 months ago
docker pull simvia/code_saturne