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

ParaFoam error with raw

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 10, 2008, 17:29
Default I ran channelOoodles in OF-1.5
  #1
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
I ran channelOoodles in OF-1.5 and have results. However, when I view the results in paraview i receive the following error at each timestep containing written data. Thoughts? How can I change writeGradP.H to include a foamFile header?

--> FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 93
Reading "/home/dcombest/OpenFOAM/dcombest-1.5/run/tutorials/channelOodles/channel395/2.6 /gradP.raw" at line 1
First token could not be read or is not the keyword 'FoamFile'

Check header is of the form:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "2.6";
object gradP.raw;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   September 11, 2008, 04:22
Default Thanks for the problem report.
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Thanks for the problem report. I will change the code to write the gradP.raw file into the "uniform" sub-directory where it should really be and upload the change to our git repository.

H
henry is offline   Reply With Quote

Old   July 18, 2009, 14:47
Default
  #3
Member
 
Marco Turchi
Join Date: Jul 2009
Location: Pesaro, Italy
Posts: 31
Rep Power: 8
zebu83 is on a distinguished road
I have a similar problem:

Quote:
--> FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 93
Reading "/home/cfd/OpenFOAM/simulation/tutorials/channelOodles/channel395/520/w.xy" at line 1
First token could not be read or is not the keyword 'FoamFile'

Check header is of the form:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "520";
object w.xy;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
If I try to visualize the result it works without problem. Then I run "postChannel" to produce other statistics of the Channel, but I can't visualize these because I have the quote problem.

Thank you.

Best regard

MT
zebu83 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
ParaFoam error in OpenFOAM15 asaha OpenFOAM Paraview & paraFoam 24 November 2, 2009 20:16
Error in paraFoam mattlee OpenFOAM Paraview & paraFoam 2 June 29, 2009 15:36
Error in paraFoam mattlee OpenFOAM Installation 0 March 1, 2009 22:34
ParaFoam Error navaladi OpenFOAM Paraview & paraFoam 13 April 22, 2008 16:01
ParaFoam Error jblucca OpenFOAM Paraview & paraFoam 1 June 28, 2007 02:37


All times are GMT -4. The time now is 06:23.