• Advertisement
Sign in to follow this  

Level set method

This topic is 3671 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