CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Use smoke density to simulate water

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2006, 03:06
Default Use smoke density to simulate water
  #1
Wei-zhi Liao
Guest
 
Posts: n/a
I'm a newbie in this field, so I try to implement water simulation for practice. Currently, I've implemented Jos Stam's paper, "Stable Fluids", to simulate smoke motion in three dimension. The smoke looks good, so my next step is to add a surface tracking method to simulate water surface.

I extend the smoke-simulation program by adding level-set method to track the surface. Initially, the center of the Euler grid stores the distance to the water surface. The negative distance means that the grid point is under the water surface, while the positive distance means that the grid point is above the water surface. Intuitively, the zero value means that the grid point is just at the surface.

The surface evolution equation is as follows,

d(phi) ------ = -u dot grad(phi), dt

where phi is the signed distance defined in each grid point, and u is the velocity computed from the smoke simulation. After I got the newest phi value, I constructed the surface by tracking the zero value.

However, I found that the surface didn't reset to the original position when you removed the force applied on it, just like a rubber without elasticity.

I thought the problem occurs because I didn't specify the gravity force. But after I applied the gravity force on each grid under the water surface, the surface gradually dropped down during the simulation process.

Thank you for reading this long explanation. I'd appreciated your any support. Thank you very much
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MODELISATION OF SEA WATER DENSITY CHANGES Alex Fabregat FLUENT 2 June 11, 2012 01:57
Questions about smoke modeling using CFX rafiktharwat CFX 0 March 14, 2011 11:38
Is it possible to simulate solidification of water? TurboOmar FLUENT 0 October 8, 2010 10:16
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
variable density water Atit Koonsrisuk CFX 5 January 13, 2004 19:52


All times are GMT -4. The time now is 19:57.