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

Any solution to this?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2009, 23:07
Default Any solution to this?
  #1
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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
Email
lakeat is offline   Reply With Quote

Old   July 7, 2009, 05:32
Default
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   July 7, 2009, 05:58
Default
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
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
Email
lakeat is offline   Reply With Quote

Old   September 25, 2009, 05:57
Default
  #4
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 17
fs82 is on a distinguished road
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
fs82 is offline   Reply With Quote

Old   September 25, 2009, 09:44
Default
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
hi............
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


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


All times are GMT -4. The time now is 12:24.