CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Output files in time folders

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 9, 2012, 05:15
Default Output files in time folders
  #1
New Member
 
Gilles De Neyer
Join Date: Nov 2011
Posts: 18
Rep Power: 4
gdeneyer is on a distinguished road
Hello,

I'm having trouble using rhopimplefoam. There are 20 files in each time folder

- ddt0(p)
- ddt0(phi)
- ddt0(psi,p)
- ddt0(rho,h)
- ddt0(rho,U)
- ddt0(rho)
- ddt0(U)
- divU
- p
- p_0
- phi
- phi_0
- rho
- rho_0
- T
- U
- U_0

I am just interested in T,U,divU and p but I don't know how to ask the program not to save the other data's. There is no object in the source code for these quantities where I could put "NO_WRITE" like it's possible to do with p,U,T,div.

Sounds a minor problem but considering the size of my domain and the number of simulation that I'm doing, it's really a problem because I'm approaching the limit of my hard drive.

Thank you
gdeneyer is offline   Reply With Quote

Old   December 20, 2012, 15:48
Default
  #2
Senior Member
 
Join Date: Nov 2012
Posts: 168
Rep Power: 3
hz283 is on a distinguished road
Hi Gilles,

Do you know how to ask the code stop outputing these *_0 files? I had the same problem now. I really appreciate it if you can give me some suggestions.

Thanks.
h
hz283 is offline   Reply With Quote

Old   December 21, 2012, 07:15
Default
  #3
New Member
 
Gilles De Neyer
Join Date: Nov 2011
Posts: 18
Rep Power: 4
gdeneyer is on a distinguished road
hello,

I didn't do it. These files come from the use of the backward scheme and it's quite interesting to let them in the case you wish to rerun from a certain time.

If you really want to drop them, you have to look in the source code for backward scheme ;-)

Regards,

Gilles
gdeneyer is offline   Reply With Quote

Old   December 22, 2012, 06:52
Default
  #4
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 294
Rep Power: 11
Lieven will become famous soon enough
Hi Gilles,

Here is what you could do.
1. Set the regular output writing to a large interval (e.g. write over 1000 steps) so that you have a full backup of your simulation from time to time which makes it possible to restart if something would go wrong. Set purgeWrite to 1 or 2 so that only the last 1/2 folders are kept.

2. Use the writeRegisteredObject funtion to select the fields you want to write more regularly, in your case U, T, divU and p. Have a look at
http://openfoamwiki.net/index.php/Ti...gisteredObject
to see how to use this function.

The _0 files are indeed created by the time integration scheme. These will not be printed with the writeRegisteredObject function.

Kind regards,

L
Lieven is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Problem with FloatingObject Leech OpenFOAM Running, Solving & CFD 10 March 29, 2012 15:24
separate .vtk files + OpenFOAM fields: synchronous time tomislav_maric OpenFOAM Post-Processing 4 November 21, 2011 09:34
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 10:05.