Fluids initial state
 
 
 

The state of a fluid is the collection of its grid property values (the values in the Density, Velocity, Temperature, Fuel, Color, and Texture Coordinate grids). The state of an uncached dynamic fluid at any frame other than the first is based on its state in the prior frame. Maya calculates dynamic fluid effects sequentially starting at the first frame.

The grid property values defined in a fluid container at the first frame of its simulation is the fluid’s initial state. You can play a simulation up to any frame, and then set the current state at that frame as the initial state for the fluid.

For example, if you had a fluid simulation that you wanted to begin with a fluid already present in the container; then you would add a fluid emitter to the container, play and stop the simulation at a frame with the desired emitted fluid, and then set the emitted fluid values as the initial state. When you would then play the fluid simulation, the fluid’s animation would start with the grid property values that were stored in its initial state.

NoteWhen you paint fluid property values into a grid, you must set the initial state of the fluid. Otherwise, when you play the simulation, the initial values you paint will be lost when you go back to the first frame. For information on painting fluid values, see Paint fluid properties into grids.

Related topics