CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

What files do you keep after a project?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2013, 07:07
Default What files do you keep after a project?
  #1
Member
 
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14
jferrari is on a distinguished road
I completed my thesis December 2012 and have over 40 GB of files. What does everyone typically keep from a successful run? What combination of files completely describes work completed while minimizing file size?

I have 6 transient runs, each using the pimpleDyMFoam solver.
jferrari is offline   Reply With Quote

Old   July 24, 2013, 06:11
Default
  #2
New Member
 
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 13
Sylv is on a distinguished road
Quote:
Originally Posted by jferrari View Post
I completed my thesis December 2012 and have over 40 GB of files. What does everyone typically keep from a successful run? What combination of files completely describes work completed while minimizing file size?

I have 6 transient runs, each using the pimpleDyMFoam solver.
this is how I do:
Assuming I do not want to restart my transient case in the future:
  1. reconstruct all timestep
  2. remove all files *_0 and phi in each timestep. If I want to restart my case in the future, I keep those files only in a few timesteps (the last one for example, or every 10 written timestep)
  3. zip each timestep (0.3 -> 0.3.zip)
  4. remove the unzipped timestep
  5. do NOT remove the grid files, even if they are generate by OpenFOAM!
  6. extrastep: zip grid data
A short bash script can run all those steps automatically.

You can also run steps 1, 2 and 4, than zip everything into one big zipfile, but the zipping might be quite long, and if your zip is corrupted, you loose everything...
Sylv is offline   Reply With Quote

Old   July 24, 2013, 06:38
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Following up on what Marcel posted: If you use the compress option in your controlDict, there is no point in zipping your data. Use tar instead (or, if you really want a zip file, --compression-method store).

Also useful: pyFoamPackCase.py
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 29, 2013, 06:51
Default
  #4
Member
 
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14
jferrari is on a distinguished road
Thank you for your advice.
jferrari is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open old mesh cmdb files in ANSYS CFX v13.0 ? Sudharshani CFX 2 May 12, 2013 22:13
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 07:17
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33
Problems with result files Kasper CFX 5 December 14, 2006 02:41
Binary files stored by Fluent Jackson FLUENT 1 April 2, 2000 21:58


All times are GMT -4. The time now is 00:09.