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

Any solution to this?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 6, 2009, 22:07
Default Any solution to this?
  #1
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
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
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   July 7, 2009, 04:32
Default
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 04:58
Default
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
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
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   September 25, 2009, 04:57
Default
  #4
Senior Member
 
Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 180
Rep Power: 8
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, 08:44
Default
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
hi............
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat 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
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02: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 13:37
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


All times are GMT -4. The time now is 01:20.