This dataset consists of software code associated with the publication titled "Rayleigh Invariance Enables Estimation of Effective CO2 Fluxes Resulting from Convective Dissolution in Water-Filled Fractures." It includes a Dockerimage that contains the precompiled code for immediate use. For transparency, the Dockerfile is also provided.
1
Download the Dataset:
Download the compressed Dockerimage wrr_image.tar directly.
If you want to inspect the Dockerimage, you can have a look at the associated Dockerfile first. Inside the Dockerfile one will find an instance of git which is privately hosted and not guaranteed to be hosted forever. Source code can also be inspected inside the docker container.
2
Load Docker Image:
Load the Docker image from the provided tar.xz file.
docker load --input wrr_image.tar
3
Run Docker Container:
Run the Docker container with appropriate volume mounts.
docker run -v $(pwd)/share/:/home/wrr_user/code/simulations/run/customBoussinesq/share -it wrr_image
It might be that the image is called slightly differently for instance wrr_image:latest , one needs to check the terminal output.
This command mounts the share directory from your current host directory into the container's /home/wrr_user/code/simulations/run/customBoussinesq/share directory. This allows you to move simulation results outside of the container by moving the results into the share folder.
4
Running Computations:
The container is precompiled with necessary resources.
You can either submit bash scripts to the cluster scheduler or use the Allrun scripts inside the cases. Move to the desired case and type ./Allrun 4 to run with 4 cores.
Note that the computations are resource-intensive and may not work on a local machine, even with an appropriate number of cores set.
OpenFOAM, v22.12