Liquid Simulation: Cool Visual Effects

  • Thread starter Thread starter Kevin_Axion
  • Start date Start date
  • Tags Tags
    Liquid Simulation
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
14 replies · 5K views
Kevin_Axion
Messages
912
Reaction score
3
This is a very cool liquid simulation: http://grantkot.com/MPM/Liquid.html.
 
Physics news on Phys.org
I'm getting Digital Certificate security warnings when I click on the link.
 
Andy Resnick said:
No interfacial energy, for example.
Refresh the page. Watch the corners of the square carefully. It looks to me like there is surface tension, which makes it a true liquid sim. Albeit, at zero temperature.
 
I'm fairly sure it's a true liquid simulation, temperature and all. The points aren't meant to represent individual molecules.
 
Impressive, many thanks.

A speed control would be a really useful addition.
 
K^2 said:
Refresh the page. Watch the corners of the square carefully. It looks to me like there is surface tension, which makes it a true liquid sim. Albeit, at zero temperature.

cjl said:
I'm fairly sure it's a true liquid simulation, temperature and all. The points aren't meant to represent individual molecules.

Kevin_Axion said:
It is a liquid.

How is it a liquid? One cannot detach a drop- only individual particles. At least, I was unable to make a drop.
 
Just by hitting the water with some minimal force it appears that there is some surface tension. Also, the program was made for the study of fluid dynamics, but then again the creator and I could be wrong: http://kucg.korea.ac.kr/seminar/2008/src/PA-08-09-19.pdf. Some of the particles do coalesce into droplets but they aren't circular.
 
Last edited:
I agree the simulation is of a bulk fluid- I was referring to the free surface. The simulation (and figures 6,7 in the paper) is a very clever approach to simulating the appearance of free fluid surfaces for the limiting case Ca -> inf, where Ca is the capillary number.

There are codes that can model a free fluid surface correctly:

http://www.informaworld.com/smpp/content~content=a907333311~db=all~jumptype=rss
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6WHR-4CXCHN0-F4&_user=10&_coverDate=01%2F31%2F1988&_rdoc=1&_fmt=high&_orig=search&_origin=search&_sort=d&_docanchor=&view=c&_searchStrId=1576492482&_rerunOrigin=google&_acct=C000050221&_version=1&_urlVersion=0&_userid=10&md5=543f49b6421ce977c90a24918f6212cc&searchtype=a
http://portal.acm.org/citation.cfm?id=1764289

But AFAIK, these approaches are not used in the OP simulation.
 
The fluid now has particles with different colours which may make it easier to analyze the flow and dynamics of the liquid. There is also an inherent tendency for the particles of the same colour to coalesce much like a lava lamp, further motivating the existence of interfacial energy within the substance.
 
Last edited:
I will also add that the liquid appears to act as a dynamical system for instance a single movement of 2 particles causes a vast change in the general liquid distribution once it has settled.
 
As suggested, there are now adjustable parameters.
 
No, don't thank me! I guess you can for posting it, but I didn't develop any part of the program.

I'll make this certain: I take no credit for any particular part of this program (other then making it known to the PF community).
 
Last edited: