20120123754 | METHOD, AN APPARATUS AND COMPUTER PROGRAM PRODUCT FOR SIMULATING DYNAMIC FLUIDS - The invention relates to a method for simulating dynamic fluids comprising a plurality of pseudo particles. The method comprising the steps of: defining a fluid mass density of the pseudo particle masses; defining a mass density constraint such that the mass density on each pseudo particle is constrained to a reference mass density of a real fluid, whereby an instant propagation of density fluctuations through the entire fluid system is enabled; performing constraint stabilization on said mass density constraint using a time stepping function, wherein said time stepping function is arranged to conserve global physical symmetries and is stable for violations of said mass density constraint; solving a linear system of equations for said mass density constraint in order to calculate density constraint forces; calculating new time discrete pseudo particle velocities from previous pseudo particle velocities with addition of velocity increments calculated from said density constraint forces; and calculating new time discrete pseudo particle positions from the previous pseudo particle positions with additions of the position increments calculated from said new pseudo particle velocities. The invention also relates to an apparatus for simulating dynamic fluids and a computer program product for the same. | 05-17-2012 |