/cfd

Computational Fluid Dynamics

Primary LanguageC++

Description

A library of some basic CFD tools. Current classes:

  • BufferGrayscale: for drawing PPM images to be piped into ffmpeg to create a video (see video target in the makefile).
  • sph2D: 2-dimensional smooth parcel hydrodynamics simulator. Example: sample2

Dependencies

  • ffmpeg

Usage

make
make video

TODO

  • Make boundary detection in Eulerian2D more robust.
  • Allow usage of custom boundaries from images.