Resuming a simulation from a cached file lets you run a simulation once for a number of frames, and then use the cached result as the new starting point for the simulation.
Cache the initial part of your simulation to file, for example, using the file_cache
node.
properties
set to the default value *
..bob
and .vdb
.file_cache
node is no longer required. You can set it to Passthrough Mode
if you want to keep it in the graph for caching the final result later on.Right-click on the additional_settings
input of the simulation graph's settings node, choose Create Node, and then select Simulation:Common:set_initial_state
. A set_initial_state
node is added and connected.
Set the filename
to the cached file that you want to use as the initial state of the simulation.
Optionally, set set_to_frame
to the scene frame that you want the initial state to be used on (if it is different from frame 1).
You can modify any parameters on the other simulation nodes, if desired. The result is as if the simulation was run with the original settings up to the initial state, and then continued with new settings.