KarthikRIyer / cfd-cuda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfd-cuda

How to build

  • You need CUDA and cmake to build this project

From root directory of project:

mkdir build
cd build
cmake ..
cmake --build . --config Release
./cfd-cuda <scale-factor> <no. of iterations>
  • Vary scale factor in change dimensions of the simulation.
  • Increasing the number of iterations will calculate more timesteps.

How to visualize

  • Install gnuplot
  • In gnuplot run the script inside the file cuda-cfd.plt

About


Languages

Language:C++ 44.5%Language:Cuda 41.7%Language:CMake 8.5%Language:C 5.3%