A realistic simulation …
The wind tunnel application simulates fluid dynamics assuming incompressible and homogeneous fluid with the Navier Stokes equations. The application is first designed to provide an interactive and entertaining simulation. However, it still provides nearly accurate physics !
… powered by a highly optimized engine.
The velocity field is solved in a 120×160 grid on iPad and on a 92×138 grid on iPod/iPhones. This requires a lot of computational power, especially to sustain a high 30 fps frame rate. To meet those requirements, we developed a highly optimized simulation engine able to leverage most of the processing power available, both in the CPU and GPU. Critical sections of the program were carefully hand-tuned and vectorized with the SIMD NEON instructions. Previous iPods and iPhones without NEON instructions (before 3GS) are supported but with lower resolution and frame rate. Further algorithmic work is still in progress, to improve the performance of the engine and quality of the simulation even further!