USING MAYA FLUIDS

Maya fluids offers the user quite a lot of flexibility to create dynamic explosions,but it can be quite tricky to get used to,especially for someone who hasn't used fluids before.Fluids are also quite difficult to control,be it the rate or the color.

One of its primary advantages of Computational fluid dynamics is its ability to describe a model which will behave in a true-to-life manner without relying on drastic approximations and simplifications. However, they are still subject to limitations inherent to the underlying physical sub-models and accuracy of the numerical method used. According to the generally accepted theory of CFD, a fluid is defined by equations which describe its properties:
* density p (kg/m3)
* pressure P (N/m3)
* velocity v (m/s)
* temperature T (K)
* internal energy N (J/kg)
* total energy E = N + 1/2v 2 (J/kg)
Thus these settings are what gives the fluid its behaviour as an explosion. Final Video
The following are the steps for the Fluid Explosion simulation carried out:



STEP 1

A 3D fluid container with emitter is created and the emitter is moved to the bottom of the container.The same procedure can be repeated for 2D explosions as well.

STEP 2

First of all,the Temperature and Density are set to dynamic from off,so that we can adjust them,and the Bounding boxes are set to none.

STEP 3

The gravity is decreased to a minimum value as our explosion will be moving against gravity.The viscosity is increased to give the explosion a more 'molten fluid' kind of look,and a bit of friction and damp are added.The Simulation rate is made faster .

STEP 4

Some turbulence is added depending on the kind of explosion,and the light released,and Fuel scale are also adjusted according to preferences.

STEP 5

The transparency is decreased to make the explosion look more solid and glow is added .The color imput is set to density so that the colors change according to the density of the explosion.The color itself is set to a ramp from black,orange to yellow.The input bias can also be adjusted to change the colors and can be keyframed to show the show in color during the explosion.

STEP 6

The opacity is adjusted so that the black cloud around the explosion doesnt look too fuzzy and spread around.The input bias can also be adjusted to modify the amount of black cloud.

STEP 7

The texture type can be set to Volume wave,Billow or Perlin noise ,-all of them look quite good.But the other two are quite slow so Perlin Noise was chosen.The texture time is set to the expression "emitter.texturetime=time" so that it varies according to the frame.

STEP 8

First of all,the Temperature and Density are set to dynamic from off,so that we can adjust them,and the Bounding boxes are set to none.
<


Finally,a spotlight was setup to give a flash when the explosion takes place.The color was set to a reddish-orange The final video can be viewed here Fluid Explosion


[ Back ]