For example, even when we run with this command:
pyFoamPlotWatcher --silent --write-files --hardcopy --solver-not-running-anymore log.simpleFoam
it's possible that two types of files get locked up:
- The
log.simpleFoam.analyzed can get locked up because a previous run of the script did not terminate with success (for whatever reason) and Python.exe might still be running.
- The
tmp*.gnuplot file might get locked up in:
_NewFile.__del__ of <PyFoam.ThirdParty.Gnuplot.PlotItems._NewFileItem>
Therefore, we need some way of having a more... contained access methodology for files, if at all possible, i.e. open them only once, since on Windows it's harder to make the file shareable.
For example, even when we run with this command:
it's possible that two types of files get locked up:
log.simpleFoam.analyzedcan get locked up because a previous run of the script did not terminate with success (for whatever reason) andPython.exemight still be running.tmp*.gnuplotfile might get locked up in:Therefore, we need some way of having a more... contained access methodology for files, if at all possible, i.e. open them only once, since on Windows it's harder to make the file shareable.