Skip to content

barbagroup/petibm-examples

Repository files navigation

Collection of PetIBM examples

License Docker Hub Singularity Hub

The repository includes examples of flow simulation with PetIBM. Each example provides the set of input data and the python post-processing scripts.

Requirements

To run the examples, you can either install PetIBM on your machine or use our Docker image.

To install PetIBM locally, please refer to these instructions.

To pull the Docker image (tag is last used to run these examples):

docker pull docker pull barbagroup/petibm:0.5.1-GPU-OpenMPI-xenial

To post-process the numerical solution, we provide python scripts. To install the packages required to execute the scripts, we recommend creating a conda environment with:

conda env create --name=petibm-example --file=environment.yml

Note that most examples are set to solve the Poisson system on a GPU using the NVIDIA AmgX library and require a CUDA-capable GPU device. Of course, you can always modify the configuration files to run all solvers on CPUs.

List of examples

To report bugs or ask questions, please use the GitHub issue tracking system. We also welcome pull-requests.