|
[Sponsors] |
April 9, 2012, 05:15 |
Output files in time folders
|
#1 |
New Member
Gilles De Neyer
Join Date: Nov 2011
Posts: 18
Rep Power: 14 |
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 |
|
December 20, 2012, 15:48 |
|
#2 |
Senior Member
Join Date: Nov 2012
Posts: 171
Rep Power: 13 |
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 |
|
December 21, 2012, 07:15 |
|
#3 |
New Member
Gilles De Neyer
Join Date: Nov 2011
Posts: 18
Rep Power: 14 |
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 |
|
December 22, 2012, 06:52 |
|
#4 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |