The official OpenFOAM docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current OpenFOAM container images are built on openEuler. This repository is free to use and exempted from per-user rate limits.
OpenFOAM is the free, open source CFD software developed primarily by OpenCFD Ltd since 2004. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics.
Learn more on OpenFOAM Web Site.
The tag of each openfoam docker image is consist of the version of OpenFOAM and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 2506-oe2403sp4 | openfoam 2506 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 2506-oe2403sp2 | openfoam 2506 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 2412-oe2403sp1 | OpenFOAM 2412 on openEuler 24.03-LTS-SP1 | amd64, arm64 |
Here, you can select the corresponding {Tag} by their requirements.
Pull the openeuler/openfoam image from docker
docker pull openeuler/openfoam:{Tag}
Run and test a openfoam container
docker run -it --rm openeuler/openfoam:{Tag}
This will enter the path like this:
/opt/OpenFOAM-v{VERSION}
where VERSION is decided by Tag.
Here, you can run the following command to test the container
cd tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
./Allrun
It finishes successfully as follows:
[root@7ae3c3cbfedf motorBike]# ./Allrun
Running blockMesh on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Running decomposePar on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Running snappyHexMesh (8 processes) on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Restore 0/ from 0.orig/ [processor dirs]
Running renumberMesh (8 processes) on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Running potentialFoam (8 processes) on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Running checkMesh (8 processes) on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Running simpleFoam (8 processes) on /opt/OpenFOAM-v2412/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike
Once the test is finished, you can check ExecutionTime in log.simpleFoam which represents the performance.
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:a9e2ee499…
Size
1.8 GB
Last updated
2 months ago
docker pull openeuler/openfoamPulls:
15
Last week