Controlling Fluid Simulations with Custom Fields in Houdini Master ...
Controlling Fluid Simulations with Custom Fields in Houdini Master ...
Controlling Fluid Simulations with Custom Fields in Houdini Master ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Figure 15: Two spheres emitt<strong>in</strong>g density and color <strong>with</strong> a vortex force applied.5. Diuse the color eld us<strong>in</strong>g a Gas Diuse microsolver, the diusion rateshould match the density diusion rate. For fast mix<strong>in</strong>g of the color, thisvalue can be <strong>in</strong>creased.In Figure (15) two spheres can be seen emitt<strong>in</strong>g density and color <strong>in</strong>formation<strong>in</strong>to a simulation. This simulation has the color elds dened as copies of thedensity values for either the red or the blue component of the Cd vector eldand does not actually require the transfer tool <strong>in</strong> SOPS. In Figure (16) you cansee a helix curve emitt<strong>in</strong>g density, colour and the temperature eld is driven bythe red values of the colour which causes the red smoke to rise quicker. The hueof the colour is mapped to the parametric u value of the curve.5.3.2 Advect by curveIn this example the tangent vectors of a curve are used as an extra force thatis cont<strong>in</strong>uously added to the velocity eld. A relatively large amount of force isapplied. Also the density eld is temporarely blurred, the gradient is taken fromthis blurred density, then normalized and applied as an additional force. Thecomb<strong>in</strong>ed force po<strong>in</strong>ts towards the density of the curve and along the tangentof the curve. A sphere is placed at the bottom of the helix and is emitt<strong>in</strong>gdensity <strong>in</strong>to the simulation. The density and tangent velocity elds can be seen<strong>in</strong> Figure (17).The node tree can be seen <strong>in</strong> Figure (18) and consists of the ma<strong>in</strong> follow<strong>in</strong>gareas:26