Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

saveFluid [-currentTime int] [-endTime int] [-startTime int]

saveFluid is undoable, queryable, and editable.

A command to save the current state of the fluid to the initial state cache. The grids to be saved are determined by the cache attributes: cacheDensity, cacheVelocity, etc. These attributes are normally set from the options on Set Initial State. The cache must be set up before invoking this command.

Return value

None

In query mode, return type is based on queried flag.

Keywords

fluid

Flags

currentTime, endTime, startTime
Long name (short name) Argument types Properties
-currentTime(-ct) int createqueryedit
cache state of fluid at current time
-startTime(-st) int createqueryedit
start Time for cacheing
-endTime(-et) int createqueryedit
end Time for cacheing

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// save the current state to the initial conditions cache
saveFluid;