Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Large data files and multiple exports can significantly slow down RealFlow. Think carefully about which data types you want to store and always try to minimize the amount of exported files as much as possible. It is worth double-checking if a certain data type is really needed for processing simulation results!

What are Cache Files?

There is one term in conjunction with RealFlow simulations you will come across quite often: “cache files”. When RealFlow stores the data of a simulation it writes out a wide variety of files to save fluid particles, motion data, surface deformations, meshes, and some other information. For this task, RealFlow uses specific file formats, for example RPC for Hybrido particles, RWC for RealWave surface, or BDC for rigid and soft bodies. These files are cache files.

Only cache files can be read and used by RealFlow to display the simulation data in the viewport or – and this is more important – to resume a simulation after an interruption. Another thing you can do with these files is to update the so-called “timeline cache”:

When you simulate you can see that the timeline turns more and more orange with every new frame. This orange bar indicates the simulation's progress and as long as this bar is visible, it is possible to scrub the timeline and create previews. The orange bar tells you that there are cached files available for RealFlow to use. Now, imagine the following situation:

You are in the middle of a simulation, but for some reason RealFlow crashes. In this case you have to restart the application, but what you see could be a little shocking for you, because the timeline is completely grey and there is no orange bar. It seems as if your simulation data is lost and you have to start again. Fortunately, this is not the case and your data is still there. To make it available to RealFlow again, you can update the timeline cache with a shortcut:

Alt + U

Once you have pressed the keys, RealFlow will search the project's subfolders and link the simulation data to the currently opened scene again. To resume the simulation, just move the timeline slider to the cache bar's end and hit “Simulate” again.

The file types mentioned above (RPC, RWC, BDC) are not the only cache files RealFlow can use for resuming a simulation. There are also BIN files for meshes and particles, SD for geometry and motion data, OpenVDB and Field3D for fields, and a few more.

There are also many other formats, e.g. PDC for Maya particles, the well-known OBJ format, several image formats, and many more. These types are used for data exchange between RealFlow and your 3D application, but they are not suited to serve as cache files.