Is there a tool to reset case or delete the timestep folders of previous running?
hello everyone,
I want to run a case several times with different boundary conditions, the BC dictionaries are changed programmaticlly. And I need a tool to reset the case before each running so that I can get the last timestep correctly. Is there such a tool to help clean up the folder? regards Yi |
pyFoamClearCase.py might help you: http://openfoamwiki.net/index.php/Contrib_PyFoam
|
Quote:
|
You just have to install PyFoam first, you can do that in your own folders.
Alternatively, you can look in $WM_PROJECT_DIR/bin/tools/CleanFunctions where you find some bash functions using the same thing. However, I like pyFoam a bit better. |
Quote:
About the second method, I'm not quite sure how I can use it. I'm using the windows port by symscape. I copied the Allclean file from a tutorial case, but it didn't work, I think I must change something properly for windows even the CleanFunctions work. I tried to google some information about the bash function but without success, maybe you can give me some advice. |
For Windows, I have no clue.
|
All times are GMT -4. The time now is 18:34. |