Welcome to the OpenFOAM Docker setup! This repository provides a convenient way to run latest OpenFOAM testcases using Docker. The Docker images are available on Docker Hub.
-
Download and Run the Docker Image
Use therun_openfoam_vXX.sh
script to effortlessly download and run the Docker image. This script handles everything for you! 🎉 -
Volume Mounting
Therun_openfoam_vXX.sh
script also mounts this Git repository as a Docker volume inside the image, ensuring you have access to all necessary files and configurations. 📂 -
Output Visualization Works best with native version of Paraview. Remember ⚡ to make an empty file
open.foam
inside your testcase, which can then be opened in Paraview. -
Container support If you plan on making changes to the image, you can create your own image from a running Docker container by
docker commit running_container_name new_image_name
. More details here.
📦 OpenFOAMv2412 (By OpenCFD)
- Image Name:
haldardhruv/ubuntu_noble_openfoam2412-dhruv
- Platform: Ubuntu Noble with OpenFOAM 2412
📦 OpenFOAMv12 (Community Edition)
- Image Name:
haldardhruv/ubuntu_noble_openfoam2412-dhruv
- Platform: Ubuntu Noble with OpenFOAM 12
For more details on how to use this setup, check out the documentation in this repository. If you encounter any issues, feel free to open an issue or contribute to the project! 🤝