Patent ID: 7647214

Claim:
A method for graphically simulating stable but non-dissipative water in real-time comprising steps for: modeling multiphase materials with grid of nodes for dealing with the multiphase behaviors including the dynamics of the borders between liquids and gas; suppressing numerical dissipation for getting rid of loss of mass of material of one phase from numerical dissipations due to the coarseness of the modeling of the materials in terms of grid of nodes; and suppressing numerical diffusion for reducing dampening of the fluid motion of materials in liquid phase, wherein the flow of fluid is described by the incompressible Navier-Stokes equations: ∇ · u = 0 ; and ∂ u ∂ t = - u · ∇ u + f ρ + v ρ ⁢ ∇ 2 ⁢ u - ∇ ρ ρ , wherein u denotes the velocity field of the fluid, p pressure, ρ the density, ν the kinetic viscosity, and f represents the external forces per volume, wherein the liquid evolves dynamically in space and time according to the underlying fluid velocity field, u, wherein the level set function changes according to the dynamical evolution of liquid and is updated by the level set equation, ∂ ϕ ∂ t + u · ∇ ϕ = 0 , further comprising tie step of solving the incompressible Navier-Stokes equations and the level set equation at each time step, wherein the step of solving the incompressible Navier-Stokes equations and the level set equation comprises steps of: a) advecting the level set according to the level set equation; b) updating the velocity by solving the Navier-Stokes equations; and c) simulating droplets and bubbles, wherein the level set function φ and the fluid velocity field u are updated.