SPH fluid simulation test: surface tension effects.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,517
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 28, 2008

With this video I want to show the importance of the surface tension in free surface fluid simulation using typical dam breaking test.

The left video shows a fluid with water properties including surface tension and the right one shows the same fluid without surface tension (blob formation vs. disintegration). The color indicate the speed module (scaled to the max) using jet color map (extracted from matlab). The surface tension model is a "spring-like"(Hook Law using attractive and repulsive forces at same time) force affecting to the free surface particles only.

The code is a modification of SPH (named XSPH) using 2900 particles (for each simulation), and was programmed in Python-Pylab-Pygame.The animation was built in slow camera mode (1/5) and the two videos was joined using blender (Anybody known other free software to do that?)

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (jahkr)

  • Do I get this right? Only the particles on the outside are affected by forces from their neighboors and every other particle is only affected by pressure to avoid compressability?

  • Not exactly, the particles inside the fluid are affected by differents forces, like pressure gradient and viscosity (calculated using the neighboors) , but only the particles in the surface are afected by the surface tension (calculated using free surface neighboors only)

  • just curious. what does xsph add to sph, and where can i find more information about this?

  • Hi kotsoft, before nothing I want to say that your codes and videos are impressive, congratulations for your work. The XSPH add a equation to basic SPH code to correct the speed of the particles, avoiding "evaporation" effects and improving the numerical stability. The correction is a "simple" average using the neighbors inner to the kernel for each particle. Search this article for more information Simulations of planet-disc interactions using Smoothed Particle Hydrodynamics

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Hi Jahkr, what algorithm do you use for finding the free surface!? V. interested!!!

  • hi jahkr, what algorithm do you use for finding the free surface?? very interested!!

  • My goal for my life i sto make a game which is the most realistic...simulating every-day life...I just found my water simulator

    :)

  • How you compute the surface tension and the direction of the surface tension force?

  • Got one of Newton's Cradle for comparison?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more