OpenFOAM - Quick way to delete previous calculation & HowTo get access to variables
Is there a quick way to delete all previous timesteps in a calculation (e.g. a script, deleting all directories regarding the time-steps w/o the "0" directory)?
plus: how can I tell the solver which variables to write to the result file - using buoyantBoussinesqPisoFoam I would like to have access to e.g. k and eps for post-processing.
Just install pyFoam, a great set of python utilities by Bernhard Gschaider for doing all kind of openfoam tasks. Have a look at
For clearing your case directory, it would become one single command:
It's not an uncommon task. I usually use http://openfoamwiki.net/index.php/Co...amClearCase.py for that (but usually every computer I touch becomes polluted with that stuff, so this is the easiest thing to do for ME, not necessarily for everyone)
Just curious: are you sure you're using a turbulence model that HAS k/epsilon (because usually such a turbulence model writes these out)
|All times are GMT -4. The time now is 08:48.|