[Soc-2017-dev] Weekly Report #04 - Mantaflow Particles and Fluid Guiding

Sebastián Barschkis sebbas at sebbas.org
Fri Jun 23 22:52:29 CEST 2017


Hello everyone,

here is the Mantaflow fluids update for week 4! Have a nice weekend!

https://wiki.blender.org/index.php/User:Sebbas/GSoC_2017/Reports/Week_4

= Week 4 =

This week I refactored obstacle velocities and took care of some bugs. The
Mantaflow drop generation function is still in development.

=== What's been done ===

* I refactored the obstacle velocity function in Mantaflow. It's now a bit
simpler: Instead of having to re-set obstacle velocities after every
boundary condition call, they are now set inside the actual boundary
function (Mantaflow: "setWallBcs()").

* There was a bug related to particle velocities. The problem was that I
was only setting the "numParticles" field in the particle system file
reading routine. It's apparently safer to also set this field when reading
particle velocity files. Thanks for reporting this bug!

* Obstacle velocities for liquids are disabled for now. The velocities
themselves are not the problem. There was just some strange behaviour (see
[1], thanks for reporting this!) going on that was caused by disabling the
"fractions support" (mode that tracks fluid/obstacle interaction more
precisely). Fractions support for obstacle velocities is nearly complete
though. So it's not necessary to know what exactly caused these problems.
Everything works fine when fractions are enabled.

=== Next up ===

* I am still working on the droplet generating functions in Mantaflow.
Today I got some helpful advice from Nils on when to kill particles. Next
week I'll implement these tips and try out the code directly inside Blender.

* I have some uncommitted changes for the "Fluid particle" UI tab. I'll try
to hook this up to the particle generation code from Mantaflow (e.g. toggle
drop generation, set velocity threshold, etc.)

=== Questions ===

* No

Best wishes,
Sebastián
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2017-dev/attachments/20170623/2b029081/attachment-0001.htm 


More information about the Soc-2017-dev mailing list