|
quadgrid 0.1
simple cartesian quad grid with particles for c++/octave
|
Files | |
| taylor_dispersion.cpp | |
| taylor_dispersion.h | |
Taylor–Aris dispersion describes the spreading of a solute within a fluid due to the coupled effects of advection and diffusion.
Before compiling, ensure you load all required dependencies from the parent directory:
This test case supports three different execution backends. Choose the build target appropriate for your hardware environment:
| Hardware Target | Make Command | Notes & Configuration |
|---|---|---|
| NVIDIA GPU | make taylordispersion | Update -arch=sm_80 in the Makefile to match your GPU's compute capability before running. |
| CPU | make thrust_cpu | Uses the Thrust host CPU backend. |
| AMD GPU | make hip | Uses the AMD HIP compiler environment. |
Run the Octave script to setup initial solute distributions and simulation parameters:
Execute the compiled binary: