Skip to content
Šimon Tupý edited this page Nov 18, 2022 · 4 revisions

VFD

VFD (Viscous Fluid Dynamics) is a simple, real-time fluid simulation tool for computer graphics and simulation enthusiasts with special focus on highly-viscous simulations. The current focus is to get the basic structure of the engine to a working state. The engine is currently in development and is not yet ready for use.

Viscous fluid simulationViscous fluid simulation

Getting up and running

Visual Studio 2022 is recommended, but older versions should work after a few updates to the Setup.bat and premake5.lua files. Additionally, an Nvidia GPU is required for running the CUDA code.

1. Downloading CUDA
Download the CUDA toolkit and follow the setup instructions for your system. The project runs on CUDA toolkit version 11.7, however, older or newer versions will probably work aswell. Older versions of the toolkit can be found here. Note that if you're using a different version of CUDA you will have to update the premake5.lua file.

2. Downloading Vulkan
Download the Vulkan SDK and follow the setup instructions for your system.

3. Downloading the repository:
Clone the repository with git clone --recursive https://github.com/Goubermouche/VFD.git. If the repository was cloned non-recursively previously, use git submodule update --init to clone the necessary submodules.

4. Configuring the dependencies:
Run the Setup.bat file found in the root directory. This will create project files for VS2022.

Acknowledgements

  • Implementation of the DFSPH simulator is largely based off of SPlisHSPlasH.

The project currently implements techniques from the following publications:

  • Jan Bender, Tassilo Kugelstadt, Marcel Weiler, Dan Koschier. Volume Maps: An Implicit Boundary Representation for SPH. ACM SIGGRAPH Conference on Motion. Interaction and Games, 2019
  • Marcel Weiler, Dan Koschier, Magnus Brand, Jan Bender. A Physically Consistent Implicit Viscosity Solver for SPH Fluids. Computer Graphics Forum (Eurographics). 37(2). 2018
  • F. Zorilla, M. Ritter, J. Sappl, W. Rauch, M. Harders. Accelerating Surface Tension Calculation in SPH via Particle Classification and Monte Carlo Integration. Computers 9, 23, 2020.