|
[Sponsors] |
[PyFoam] use pyFoamClearCase.py "before a time" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 11, 2013, 11:08 |
use pyFoamClearCase.py "before a time"
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 11, 2013, 19:19 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
August 12, 2013, 01:32 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thanks Bernhard.in my controlDict in 2.2.0 version I have: cycleWrite 0; cycleWrite is the same as purgeWrite?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. Last edited by immortality; August 12, 2013 at 10:12. |
|
August 12, 2013, 10:01 |
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Don't know. Google it
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
August 12, 2013, 10:16 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
thanks.it seems that they have used cycleWrite instead of purgeWrite for more clarification I think.it has used in some of tutorial cases but also purgeWrite has used in others.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 02:20 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 02:34 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |