|
[Sponsors] |
July 6, 2009, 23:07 |
Any solution to this?
|
#1 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Dear all,
You know, gradP.raw in channel flow case cannot be reconstructed, not being recognized as "FoamFile", so it complains error all the way, but when 99 errors are accumulated, reconstruct will finally ABORT. So any solution to this? I know this is not a big deal, but can we switch 99 to 9999, because I need to reconstruct more than 1000 times in my study. Thank you. Sincerely,
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
July 7, 2009, 05:32 |
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks for reporting. For now I would create a tar file of them:
cd processor0 find . -name 'grawP.raw' > junk.txt tar czf file.tgz --files-from junk.txt then delete them (find . -name 'gradP.raw' -exec rm {} \, run reconstructPar and then unpack the tar file in the reconstructed directory. Note: just typing this, haven't tried it. |
|
July 7, 2009, 05:58 |
|
#3 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
I see, thanks for the help, it works! But isn't there a solution to add FoamFile head?
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
September 25, 2009, 05:57 |
|
#4 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17 |
Hello i experienced the same problem but there is a really simple solution. If you download the GIT version of Openfoam 1.5 this problem is fixed. To do it by hand you have to go to the source code of your channelOodles solver and open the files:
writeGradP.H and createGradP.H. Change every time where the gradP.raw file is touched the path to: runTime.path()/runTime.timeName()/"uniform"/"gradP.raw" This will write the gradP.raw file to the uniform subdirectory in a time directory and no postprocessing tool will further complain about this file :-D |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
grid dependancy | gueynard a. | Main CFD Forum | 19 | June 27, 2014 22:22 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
Discussion about Mesh independant solution | Seb | Main CFD Forum | 13 | May 22, 2001 14:37 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 02:16 |