www 101

All you need to know about the internet

Have a Question?

If you have any question you can ask below or enter what you are looking for!

Understanding Particles and Dynamics in Maya—Part 18

Preview


1. Creating Fluid Container

Step 1

Open Maya.

Open Maya
Open Maya

Step 2

Jump in Dynamics
mode. Go to Fluid Effects > Create 3D Container and draw a 3D fluid
container in the view port as shown in the following image.

Dynamics mode
Dynamics mode

Step 3

Go to fluidShape1 attribute
and set the value of Base Resolution to 50. You can change this
value to 150 just before rendering for the final output.

fluidShape1
fluidShape1 

Step 4

Go to Container Properties and set the options of Boundary
X
to None, Boundary Y to –Y Side and Boundary Z
to None.

Container Properties
Container Properties

Step 5

Go to Contents Method
rollout and change the values of Temperature and Fuel to Dynamic
Grid
.

Contents Method
Contents Method

2. Creating Emitter

Step 1

With the container
selected, go to Fluid Effects > Add/ Edit Contents > Emitter and
click on the option box.

Fluid Effects  Add Edit Contents  Emitter
Fluid Effects > Add/ Edit Contents > Emitter 

Step 2

In the Emitter Options
window, set the Emitter Type as Volume and Volume Shape as
Sphere and then click on Apply and Close button.

Emitter Options window
Emitter Options window

Step 3

You can see the
spherical emitter inside the fluid container. Place it on the bottom surface of
the container.

Spherical emitter
Spherical emitter 

Step 4

With the Emitter
selected, go to Fluid Attributes rollout and set the value of Density/Voxel/Sec to 50.

Density Voxel Sec
Density/ Voxel/ Sec

Step 5

Set the value of Fuel
Method
to No Emission.

Fuel Method
Fuel Method

Step 6

Go to Auto Resize
to turn on Auto Resize option and turn off Resize Closed Boundaries
and Resize in Substeps options. Set the values of Auto Resize
Threshold
to 0.002 and Auto Resize Margin to 8.

Auto Resize
Auto Resize

Step 7

Go to Lighting rollout and turn on Self Shadow
option and change the value of Shadow Quality of 1.2. Set the Ambient
Brightness
value to 0.2.

Lighting rollout
Lighting rollout

Step 8

Go to Shading >
Color
and click on Selected Color option. Set the color to bit dark.
It changes the color of the smoke in the viewport.

Shading  Color
Shading > Color

Step 9

With the Emitter
selected, go to Fluid Attributes rollout and set the value of Heat/Voxel/Sec to 25.

Heat Voxel Sec
Heat/ Voxel/ Sec

Step 10

Hit the Play button.
You can see that the fire is simulating straight and smooth. 

Hit the Play button
Hit the Play button

Step 11

With the fluid container
selected, go to fluidShape1 > Content Details > Temperature and
set the values of Turbulence to 25. Hit the Play button
and now you can see the turbulence in the fire simulation.

fluidShape1  Content Details  Temperature
fluidShape1 > Content Details > Temperature

Step 12

Set the Temperature
Scale
value to 2.5

Temperature Scale
Temperature Scale

Step 13

Set the Dissipation
value to 2.

Dissipation
Dissipation

Step 14

Go to Shading > Incandescence rollout and set the
value of Input Bias to 0.075

Shading  Incandescence
Shading > Incandescence

Step 15

Go to Shading > Opacity
rollout and set the value of Input Bias to 0.080.

Shading  Opacity
Shading > Opacity

Step 16

Start rendering the
frames and you will the smoky fire simulation as shown in the following image.

Start rendering the frames
Start rendering the frames

Conclusion

Hope you must have enjoyed the tutorial. In the next part of the series, I’ll show you how to create a burning house or car simulation using fluid dynamics in Maya.