Skip to content

hagmas/MobileFluidSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileFluidSimulation

Fluid Simulation with Metal

Fluid Simulation with Metal

About MobileFluidSimulation

MobileFluidSimulation is a metal implementation of Fast Fluid Dynamics Simualtion on the GPU. In the simualtion part, the velocity field of the fluid is calculated using Navier-Stokes Equations which is implemented using metal kernel functions and it advects the color field. The color field is visualized on MTKView by a normal rendering pipeline.

How to play

  1. Donwload & build the project.
  2. Run the application on actual devices. The example application doesn't work on Simulator since Metal is not available on Simulator.
  3. Drag the view with multiple fingers or double tap to reset the view.

About

Fluid Simulation with Metal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published