immortality |
August 11, 2013 11:08 |
use pyFoamClearCase.py "before a time"
Hi
I have a case with several cycles.its now in its 5th cycle and I want to clear the data of second and third cycles and wished to do that with useful pyFoam tools but it seems it isn't provided an option for deleting folders before a time folder specified.is there any way to do this?(there are too many folders to remove manually and better is automatically if possible)
thanks.
options available are:
Code:
--after=AFTER Only remove timesteps after this time
--processors-remove Remove the processor directories
--vtk-keep Keep the VTK directory
--no-pyfoam Keep the PyFoam-specific directories and logfiles
--keep-last Keep the data from the last time-step
--keep-regular Keep all the timesteps
--clear-history Clear the PyFoamHistory-file
--function-object-data Clear the PyFoamHistory-file
|