Wednesday 11 February 2009

Update 11/02

Well there has been a lot achieved programming side this week. I have managed to implement some of the functions for the Navier-Stokes equation into my program. What is up is the Advection and Diffuse equations have been included along with the density calculation step for the entire grid. The velocity step still needs to be done but it similar to the density as it used Advection equation as well.
I have also came across the game called Hydrophobia (Blade Interactive) which has a game engine (HydroEngine) which provides realistic fluid dynamics technology for flowing water, allowing it to interact with the surroundings. The game is set to be released in March sometime so I do plan on having a look at the game to see how their fluid dynamics are represented.

Hydrophobia teaser trailer

This week's goals are:

  1. Get the velocity step for the application built in.
  2. Get a visual representation of the fluid done.

Tuesday 3 February 2009

Update 03/02

Well I have managed to achieve the goals which I set myself over the last two weeks. My application has been started which is a basic window which runs with DirectX. I have read up on GPU Gems 3 which was good but I have also read GPU Gems which was really good. It has help me come to terms with the ideas and terms behind Navier-Stoke equations. Also the steps you have to follow to produce the desirable fluid has been achieved. However the one problem with this book is that it uses the GPU to create the fluid rather than the CPU which is a type of code which I have not used before and is difficult to understand. However if I plan on building the fluid to run on the CPU first then convert it to the GPU. As it can run 6 times faster than the CPU.
I have also managed to get a demo application of Jos Stams work along with code which I plan on looking at to see how the equations are applied in his applications.

Goals for this week:
Build up on my application to include the functions of Navier-Stokes equations
Look it to the techniques used to represent fluids (Grids and Particles).