Description
#1262 was caused by boutcore 😞
passing output:enabled=false
to bc.init()
avoids the empty datafile - as starting the post processing scripts calls the standard bout init routines, which open the dump files. Depending on the last run (if read from BOUT.settings
) this does delete all data. I am not sure whether this is a regression, or whether I only used that script on simulation that had been started with restart append.
I am thinking of whether we should add a postprocessing mode for BOUT++:
BOUT.inp
->BOUT.settings
BOUT.settings
->BOUT.post
- Disable output
- ???
Proceed with care if you are using boutcore - copying the files to a new folder (with hard links rather than full copies should suffice full, deep copies are needed) with e.g. cp -al data post
can prevent accidental deletion of files you still care about ...