利用者:Sebbas/GSoC 2017/Reports/Week 7

提供: wiki
移動先: 案内検索

Week 7

This week I extended the secondary particle sampling and added support for float particles. I also took care of a bug and added inital velocity support for smoke.

What's been done

  • So far I hadn't really touched the "Initial velocity" settings from the flow source menu. So I started off with smoke and implemented a first version. Results look promising and similar to the one from the master branch. Initial velocity for liquids is slightly more complicated. (For liquids you'd have to set the initial velocity to a whole volume of particles, however, the smoke UI is more suited for planes with just one normal). I will come back to this later. (rB166c3db1e794)
  • There was (and still is to some extent) a problem with domains that have outflow cells. Liquid particles weren't deleted correctly and in some situations liquid simulations appeared to have too much velocity. With the help of Nils and many example scenes (thanks guys!) [1] I managed to get the outflow problem under control. What's left are velocities. I experimented a bit and it seems there is too much velocity extrapolation before and after the pressure solve. (rB766572cd0a7a, rBfeda06e184ff, , rB3ee4f50995e0, rB837972517176)
  • I added float particle support to the seconday particle sampling routine. Tracers remain a todo, however, there is now also "Bubble" particles! For now, here is a simulation of those floats and bubbles in Mantaflow. (In Blender these new files are unstable, I am still hunting the bug).
Float and bubble particles inside Mantaflow
  • On the Blender side, everything is now set for float, tracer, bubble particles. That includes UI, automatic particle system setup and caching. I just have to tranfer the Mantaflow code and uncomment some lines. (rB6ed2fe0229c1)

Next up

  • Get my Mantaflow code working in Blender again.
  • Add support for tracer particles.
  • Take more care of the Github bug [1]. Again, outflow should be fixed, velocities are still off. Fixing this bug has high priority.

Questions

  • No

References

  1. https://github.com/sebbas/BlenderMantaflow/issues/7