PAR² is a Lagrangian solute transport simulator using a parallelized Random Walk Particle Tracking (RWPT) method.
You can download the latest release of PAR² for Windows or Linux executable from here. Make sure your computer is equipped with an NVIDIA GPU and NVIDIA drivers are updated. You can control the simulation parameters through a YAML configuration file. Look inside the Examples folder to get started.
The following software and libraries must be installed:
- cmake (version 3.8 or higher)
- CUDA Toolkit (tested with version 9.0)
- yaml-cpp library
- spdlog library (included in the source code)
-
Make sure to have a valid c++ compiler (e.g., gcc)
-
Create a build directory:
mkdir Build cd Build
-
Create makefile:
cmake -DCMAKE_BUILD_TYPE=Release ..
-
Compile:
make
-
Make sure to have Visual Studio 2017 installed
-
Create a build directory:
mkdir Build cd Build
-
Create MSVC solution:
cmake -G "Visual Studio 15 2017 Win64" -T v140 -DCMAKE_BUILD_TYPE=Release -DYAML_ROOT=C:/path/to/yaml-cpp ..
-
Compile using the Developer Command Prompt for VS:
devenv /Build Release par2.sln
Rizzo, C. B., Nakano, A., and de Barros, F. P. J. PAR²: Parallel Random Walk Particle Tracking Method for Solute Transport in Porous Media Computer Physics Communications