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 15

Preview


1. Creating a Fluid Dynamics Container

Step 1

Open Maya.

Open Maya
Open Maya

Step 2

With the help of Polygon
Cube
, create a wall like structure in the perspective view port as shown in
the following image.

Polygon Cube
Polygon Cube

Step 3

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 4

Rotate the container as
shown in the following image. Set the Rotate X value to -90
degree.

Rotate the container
Rotate the container

Step 5

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

Base Resolution
Base Resolution

Step 6

Set the values of Size
to 3, 25 and 3 respectively and set the options of Boundary
X
to None, Boundary Y to Both Sides and Boundary Z
to None.

Set the values of Size
Set the values of Size

2. Creating Emitter

Step 1

Go to Fluid Effects
> Add/ Edit Contents > Emitter
and draw the icon in the view port as
shown in the following image.

Go to Fluid Effects
Go to Fluid Effects 

Step 2

With fluidEmitter1
selected, set the value of Rate to 400 and Max Distance to
0.300.

Max Distance
Max Distance

Step 3

Go to Fluid
Attributes
rollout and set the values of Desnsity/ Voxel/ Sec to 5,
Heat/ Voxel/ Sec
to 5, Fuel/ Voxel/ Sec to 4 and Fluid
Dropoff to 0.

Fluid Attributes
Fluid Attributes

3. Adding Details

Step 1

With the fluid container
selected, go to Dynamic Simulation roll out and set the values of Damp
to 0.025, High Detail Solve to All Grids, Substeps
to 3, Solver Quality to 50 and Simulation Rate Scale
to 1.300.

Dynamic Simulation
Dynamic Simulation

Step 2

Go to Auto Resize
to turn on Auto Resize option and turn off Resize Closed Boundaries
and Resize to Emitter options. Set the values of Auto Resize
Threshold
to 0.001 and Auto Resize Margin to 2.

Auto Resize
Auto Resize

Step 3

Go to fluidShape1
> Content Details > Density
and set the values of Density Scale
to 0.500, Buoyancy to 15, Dissipation to 1.5,
Noise
to 0.010 and Gradient Force to 25. Go to Velocity
and set the values of Swirl to 5 and Noise to 0.250.

fluidShape1  Content Details  Density
fluidShape1 > Content Details > Density 

Step 4

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

Contents Method
Contents Method

Step 5

Go to Temperature
rollout and set the values of Buoyancy to 10 and Dissipation
to 2

Temperature rollout
Temperature rollout 

Step 6

Set the values of Diffusion,
Turbulence and Noise to 0.050, 5 and 0.250
respectively.

Diffusion
Diffusion

Step 7

Go to Shading
rollout and change the Selected Color to black.

Shading rollout
Shading rollout

Step 8

Go to Fuel
rollout and set the values of Reaction Speed to 0.400, Air/
Fuel Ratio
to 9, Ignition Temperature to 1.5 and Light
Released
to 1.

Reaction Speed
Reaction Speed

Step 9

Hit the Play
button and you can see how it looks like in the view port.

Hit the Play button
Hit the Play button

Step 10

Go to Color and
set the color value to grey. Set the values of Color Input to Density
and Input Bias to 0.350.

Color Input
Color Input

Step 11

Go to Incandescence and
set the color value as shown in the following image. Set the value of Incandescence
Input
to Temperature and Input Bias to 0.750.

Incandescence
Incandescence

Step 12

Go to Opacity and
set the opacity value as shown in the following image. Set the value of Input
Bias
to 0.300.

Go to Opacity
Go to Opacity

Step 13

Go to Shading Quality
rollout and set the values of Quality to 2 and Render
Interpolation
to Smooth.

Shading Quality
Shading Quality

Step 14

Go to Lighting
rollout and turn on Self Shadow option. Set the value of Ambient Brightness
to 0.250 and turn off Real Lights option.

Go to Lighting rollout
Go to Lighting rollout

Step 15

Hit the Play
button and you can see how it looks like in the view port.

Hit the Play button
Hit the Play button

Step 16

Once you are satisfied
with the simulation, you can start rendering the frames as shown in the
following image. 

Final Render
Final Render

Conclusion

You can play with the gravity and wind forces to get some more exciting result of flamethrower. Remember to increase the Base Resolution to 300-400 to get production quality. Render with Mental Ray rendering engine for production like quality.