Par2
Parallel Random Walk Particle Tracking Method for Solute Transport in Porous Media
Install / Use
/learn @GerryR/Par2README
PAR²
PAR² is a Lagrangian solute transport simulator using a parallelized Random Walk Particle Tracking (RWPT) method.
Getting Started
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.
Build
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)
Compile on Linux
-
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
Compile on Windows
-
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
Citations
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
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
