<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Sebastian,<div class=""><br class=""></div><div class="">nice! Cool to see a first version of the guiding working in blender. I think the possibility to rasterize curves and use them to define velocities would be neat. That would also be very useful to add directed forces to sims without guiding.</div><div class=""><br class=""></div><div class="">Apart from that I'm still looking into the inflow velocity problems. I don't think I've found all of the problems, but here are already a few insights from that setup:</div><div class=""><br class=""></div><div class="">- I think it'll be important to&nbsp;always set the velocity of inflow regions, e.g., by extending the level set by 1, and writing the velocities. in the current setup, the unconstrained vels do weird things over time...<br class=""><br class="">- in "addForceField" , shouldnt this be scaled by solver.timestep? you could add a&nbsp;scaling factor param, and then set the factor in the python script<br class=""><br class="">- just wondering, does the&nbsp;obstacle level set created on the blender side have outside values? that's needed for pushOutofObs plugin , and the box in the example didn't have a proper outside (but that was the mantaflow box SDF)<br class=""><br class=""></div><div class="">As mentioned by Gottfried, the particle system UI is probably a good starting point for the inflow &amp; particle source velocities.</div><div class=""><br class=""></div><div class="">Cheers,<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">-&gt; Nils</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">=== Technical University of Munich ,&nbsp;<a href="http://ge.in.tum.de/" class="">http://ge.in.tum.de/</a> ===</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div></div></div></div></div></div></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 4. Aug 2017, at 14:25, Sebastián Barschkis &lt;<a href="mailto:sebbas@sebbas.org" class="">sebbas@sebbas.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class=""><div class="">Hello everyone,</div><div class=""><br class=""></div><div class="">here is my progress report for week 10. Enjoy and have a nice weekend!</div><div class=""><br class=""></div><div class=""><a href="https://wiki.blender.org/index.php/User:Sebbas/GSoC_2017/Reports/Week_10" class="">https://wiki.blender.org/index.php/User:Sebbas/GSoC_2017/Reports/Week_10</a></div><div class=""><br class=""></div><div class="">= Week 10 =</div><div class=""><br class=""></div><div class="">This week I was busy with exams. However, as promised, I created something "visually pleasing" with fluid guiding :)</div><div class=""><br class=""></div><div class="">=== What's been done ===</div><div class=""><br class=""></div><div class="">* Mantaflow has a built in test function that sets up a 2D velocity grid describing a spiral flow. My idea for a first fluid guiding test was to make use of this function and create a 3D smoke tornado (Gooseberry! :)</div><div class=""><br class=""></div><div class="">* Therefore I first had to adapt the spiral velocity function. I needed a 3D instead of a 2D target velocity grid for Mantaflow to work in Blender.</div><div class=""><br class=""></div><div class="">* I then fitted all the necessary Python fluid guiding functions into the smoke script in Blender. The most important part here is to use the dedicated fluid guiding pressure function (it takes care of guiding and also the pressure solve). With this setup in place, the basic (tornado) guiding was working.</div><div class=""><br class=""></div><div class="">* To control the guiding just a bit I added a "Fluid guiding" tab to the UI. It lets you toggle guiding and also set a strength value. Note that this UI setup is meant to be just a temporary solution though.</div><div class=""><br class=""></div><div class="">=== Next up ===</div><div class=""><br class=""></div><div class="">* Next week I want to get back on track. Before fully focusing on guiding though I need to take a look at particles again. There are still some bugs when multiple particle types are enabled.</div><div class=""><br class=""></div><div class="">* The final fluid guiding setup should allow users to define arbitrary velocity fields (and not just tornados :). So a possible solution, which I'll try out, might be to use curves along which a velocity can flow. &nbsp;&nbsp;</div><div class=""><br class=""></div><div class="">=== Questions ===</div><div class=""><br class=""></div><div class="">* No</div><div class=""><br class=""></div><div class="">Best wishes,</div><div class="">Sebastián</div></div>
_______________________________________________<br class="">Soc-2017-dev mailing list<br class=""><a href="mailto:Soc-2017-dev@blender.org" class="">Soc-2017-dev@blender.org</a><br class="">https://lists.blender.org/mailman/listinfo/soc-2017-dev<br class=""></div></blockquote></div><br class=""></div></body></html>