Jump to content
  • Advertisement
Sign in to follow this  
Icebraker

Level set method

This topic is 3758 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I want to model a fluid using Level sets as describes in "Practical animation of fluids" by Foster and Fedkiw. I know that the level set has to be evolved according to formula 5.2 phi_t + u * nabla phi = 0 However, I have no idea how to implement the upwind differencing procedure. I tried the wikipedia-formulas on upwind differencing, but it does not seem to work for me. Solving it with the Lagrangian method works fairly well, so I am sure that the rest of my program works. Does anybody have some code or code outline how I can track my surface using upwind differencing (It should be possible using only the functions float getPhi(x,y,z) and vec3 getVelocity(x,y,z), which I already have implemented). Thanks a lot, Icebraker

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!