3D Fluid Simulation using OpenCL*
Features / Description
The sample demonstrates shallow water solver implemented in OpenCL*. It relies on flux splitting method for solving the approximated Navier-Stokes equations. The algorithm operates on 2D maps of velocity and height, calculates updated maps for the next time step. The updated maps are rendered with pixel and vertex shaders (Microsoft DirectX* 10).
- Efficient solver implementation in OpenCL*
- 2D maps of velocity and height as inputs, and updated maps for visualization
- Implemented the way to transparently benefit from auto-vectorization
It also demonstrates a CPU-optimized implementation of the shallow water fluid effects and shows how to perform the following:
- Implement calculation kernels using OpenCL* C99
- Parallelize these kernels by running several work-groups in parallel
- Organize host-device data exchange
- Visualize results using pixel and vertex shaders (Microsoft DirectX* 10).
- Supported Devices CPU, Intel® HD Graphics 4000/2500
- Complexity level: Advanced
Refer to the Release Note document for information on system requirements.
OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
This software is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (Burma, Cuba, Iran, Libya, North Korea, Sudan, and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, Specially Designated Nationals, and entities on the Bureau of Export Administration Entity List or involved with missile technology or nuclear, chemical or biological weapons).