Any solution to this?
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, |
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. |
I see, thanks for the help, it works! But isn't there a solution to add FoamFile head?
|
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 |
hi............
|
All times are GMT -4. The time now is 07:30. |