   Muller SPH fluid simulation: reasonable parameters?
  hello there,Iv implemented a SPH simulation based on Muller's smoothing kernels and I believe the simulation is implemented correctly. However, THere are so many parameters and I cannot seem to find a good combination that gives fluid like behaviour.The thinks Ive got to mess with are:Sampling radius, rest pressure, rest density, stiffness coefficient, viscocity, timestep, and particle massIts currently a 2d simulation running in the domain of [-1, -1] to [1, 1]Does anybody know of some reasonable parameters that I might try?Im new to this, so I dont even know which of these should be negative/positive...   
  There is an old topic here about SPH that might have some useful info:Resources on Smoothed Particle Hydrodynamics (SPH)The book "Game Programming Gems 6" has a chapter that talks about using SPH in games. I haven't looked at it in a while, but as I recall, there are some suggested values for kernel parameters. At the very least, there is code on the CD that you could look at for an example. Of course, that would require buying a copy of the book.Actually, the SPH chapter in the book is based on the work of Takashi Amada, and his web page (with links to versions of his code) are here:Real-Time Particle-Based Fluid Simulation[Edited by - grhodes_at_work on May 8, 2009 11:26:46 AM]