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

ParaFoam error with raw

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2008, 18:29
Default I ran channelOoodles in OF-1.5
  #1
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan 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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
chegdan is offline   Reply With Quote

Old   September 11, 2008, 05:22
Default Thanks for the problem report.
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
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, 15:47
Default
  #3
Member
 
Marco Turchi
Join Date: Jul 2009
Location: Pesaro, Italy
Posts: 31
Rep Power: 17
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


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
[OpenFOAM] ParaFoam error in OpenFOAM15 asaha ParaView 24 November 2, 2009 20:16
[OpenFOAM] Error in paraFoam mattlee ParaView 2 June 29, 2009 16:36
Error in paraFoam mattlee OpenFOAM Installation 0 March 1, 2009 22:34
[OpenFOAM] ParaFoam Error navaladi ParaView 13 April 22, 2008 17:01
[OpenFOAM] ParaFoam Error jblucca ParaView 1 June 28, 2007 03:37


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