|
[Sponsors] |
Is there a tool to reset case or delete the timestep folders of previous running? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2013, 08:35 |
Is there a tool to reset case or delete the timestep folders of previous running?
|
#1 |
New Member
Lü Yi
Join Date: Aug 2013
Posts: 3
Rep Power: 13 |
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 |
|
September 23, 2013, 08:37 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
pyFoamClearCase.py might help you: http://openfoamwiki.net/index.php/Contrib_PyFoam
|
|
September 23, 2013, 08:51 |
|
#3 | |
New Member
Lü Yi
Join Date: Aug 2013
Posts: 3
Rep Power: 13 |
Quote:
|
||
September 23, 2013, 08:54 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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. |
|
September 23, 2013, 09:17 |
|
#5 | |
New Member
Lü Yi
Join Date: Aug 2013
Posts: 3
Rep Power: 13 |
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. |
||
September 23, 2013, 09:24 |
|
#6 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
For Windows, I have no clue.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
How to save a case running in background | us | FLUENT | 0 | July 6, 2005 11:43 |