13.07.2015 Views

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 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

And (1) is called the momentum equation and tells us how the uid acceleratesdue to the forces act<strong>in</strong>g on it and can be derived from Newton's equation−→ F = m−→ a as expla<strong>in</strong>ed <strong>in</strong> [4]. And (2) is the <strong>in</strong>compressibility condition andstates that the divergence of the velocity must always be equal to zero. Thisconstra<strong>in</strong>t ensures that the sum of all velocities enter<strong>in</strong>g and leav<strong>in</strong>g at a po<strong>in</strong>t<strong>in</strong> space is zero. When this is conserved, the total mass is conserved over theentire simulation [18].4.3.2 The steps to solve the Navier Stokes equationsThree ma<strong>in</strong> steps will be required to solve the Navier Stokes equations, thesesteps are very well described <strong>in</strong> [18] but will be <strong>in</strong>cluded here aga<strong>in</strong> for completenessand some of the explanations of the terms summarized.1. Advection2. Diusion and External forces (Body forces)3. pressure/<strong>in</strong>compressibilityAdvection( −→ u · ∇) −→ uAdvection represents the fact that the motion of the uid causes motionof the entities <strong>with</strong><strong>in</strong> it. This can be thought of as the velocity of the uidmov<strong>in</strong>g itself along, and is sometimes referred to as self-advection because ofthat property. The advection part of the equations can also be used to modelmotion of other entities <strong>in</strong>side the uid [18].With<strong>in</strong> Houd<strong>in</strong>i the Gas Advect microsolver can be used for advect<strong>in</strong>g one orseveral elds at the same time. For more advanced <strong>in</strong>teractions between elds,other actions can be performed at this step that will update the elds. This canbe seen <strong>in</strong> the node tree for the elds_updates section <strong>in</strong>side the preset smokesolver <strong>in</strong> Figure (7). For <strong>in</strong>stance:• A Gas Blur is used to diuse the temperature eld,• A Gas Calculate is used to cool the temperature eld or to copy <strong>in</strong>formationfrom a source eld <strong>in</strong>to a heat eld.• <strong>Fields</strong> are not the only th<strong>in</strong>g that can be advected, geometry can as well,such as vorticle geometry which is expla<strong>in</strong>ed <strong>in</strong> the external forces step.Diusion and External forces12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!