Hi Nima,
without any extra "save" calls a
Mantaflow script will not write any data to your PC disk, i.e. there is
no cache. It will just perform the computations from the script and
optionally show the results in the GUI in real-time. scenes/simpleplume.py, for example, has no "save" calls by default.
If you want to "keep" the data from the simulation you can do two things:
(1) Save the data from the grids, particle systems, meshes. The .save(...) function can be called on any of those objects.
(2) Save a screenshot of the simulation. For that, trigger the .screenshot(...) function on the GUI object.
In scenes/waveletTurbulenceObs.py you can find some examples of those functions in action (commented out by default).
In
order to later view the data from (1) you can just write an extra
Python Mantaflow script. Use the .load(...) function and remember to
enable the GUI.
Alternatively, it's possible to load
(and also generate) Mantaflow simulation data in "Blender". But let's
save that discussion for another thread :)
Hope this helps! Best wishes,
Sebastián