Jiggly Fluids

Hi all! ๐Ÿ™‚

Lately, Stephen and I were busy trying to implement spring forces for the Fluid Particles. we had made many test and something was always wrong, leading to some stall in this project but sometimes you just have to let your brain does the homework in a background process, take some rest, enjoy your life and suddenly it will pop you with a correct solution ๐Ÿ™‚

Yesterday I was trying to reduce the problem to its simplest form: adding spring forces between two particles, outside the fluid solver, I was too focused on the fluid solver that the solution was always in front of me and I couldn’t see it ๐Ÿ˜‰ , that simple switch of point of view lead me to the solution: implement it as a force and not as impulses like suggested
the main paper, suddenly everything started to flow ๐Ÿ™‚ and as a nice side effect I implemented a new particle force type: Spring force, not just for fluid particles but for everything! ๐Ÿ™‚

cheers

Advertisements
Jiggly Fluids

13 thoughts on “Jiggly Fluids

  1. Wow, very impressive! That happens to me often, everytime I’m bugged with some problem which happens to be impossible to solve, at some point in time, after getting rid of it on my crude brain, the solution just pops out. ^_^ Funny how that happens. Thanks so much for sharing these! ^_^

    -Reyn

    Like

  2. dmos says:

    To have cohesive forces between molecules (that’s what it’s called in physics and chemistry) is scientifically correct. I don’t know how you modeled it exactly, but there are some additional properties to fluids and how they come to happen (Water for molecules for instance only bond with four other molecules). There are good (plain english) introductions on Wikipedia.

    The best starting point is the one about cohesion. It’s short and to the point. Just go from there, every other important link is on the page (adhesion, surface tension, etc.)

    http://en.wikipedia.org/wiki/Cohesion_(chemistry)

    As a matter of fact the difference between steel (solid, unbendable), rubber (solid, bendable), and water (liquid) at room temperature, is only how strong the cohesive force between molecules is. If the energy of the molecule is greater than it’s cohesive force (warmer), it’s a gas. Check wikipedia again:

    http://en.wikipedia.org/wiki/State_of_matter

    http://en.wikipedia.org/wiki/Liquid

    Hope that helps and thanks for all the great work.

    Like

  3. @Bart
    No, viscosity dampen the particle’s relative velocity to each other and cohesion is only for surface particles (surface tension), though visually could lead to similar results in some set ups, generally they are different, because spring forces acts over every particle in a deeper level.

    Like

  4. Big Fan says:

    Fantastic! love those clips ๐Ÿ™‚
    I’m really looking forward to making something with this. Quite a while ago someone did a sort of ‘particles in outerspace’ movie that I think won a Suzanne award, but we have come a long way technically since then.
    Maybe there should be a Blender challenge for the most impressive particles use?
    Thanks very much for your work and happy holidays!

    Like

  5. dmos says:

    Hi. There’s still a comment from me pending moderation, I guess it’s been drowned in spam. Post date is December 15, 2009 at 5:36 am by dmos. You can remove this comment afterwards.

    Cheers

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s