CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Plot3dToFoam mesh conversion error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mattijs

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 21, 2006, 12:34
Default Plot3dToFoam mesh conversion error
  #1
New Member
 
Ram Poudel
Join Date: Mar 2009
Location: Flagstaff, arizona, USA
Posts: 9
Rep Power: 17
rcpoudel is on a distinguished road
While trying to convert a plot3d volume mesh generated in Overgrid using Hypgen, I encounter the following error:
---------------------------------------------------
Exec : plot3dToFoam .. cavity /home/rcpoudel/aubrey/av80fsn.p3d
Date : Dec 21 2006
Time : 10:32:25
Host : venus
PID : 10975
Root : ..
Case : cavity
Nprocs : 1
Create time

Reading 93 blocks


--> FOAM FATAL IO ERROR : wrong token type - expected int found on line 2 the doubleScalar 368860

file: /home/rcpoudel/aubrey/av80fsn.p3d at line 2.

From function operator>>(Istream&, int&)
in file primitives/int/intIO.C at line 74.

FOAM exiting
---------------------------------------------------

Few lines of the p3d volume grid file I want to convert to Foam format are as follows:
93 133 51
0.3688602E+06 0.3690820E+06 0.3693038E+06 0.3695257E+06 0.3697475E+06
0.3699694E+06 0.3701912E+06 0.3704131E+06 0.3706349E+06 0.3708568E+06
0.3710786E+06 0.3713004E+06 0.3715223E+06 0.3717441E+06 0.3719660E+06
0.3721878E+06 0.3724097E+06 0.3726315E+06 0.3728533E+06 0.3730752E+06
0.3732970E+06 0.3735189E+06 0.3737407E+06 0.3739626E+06 0.3741844E+06
0.3744063E+06 0.3746281E+06 0.3748499E+06 0.3750718E+06 0.3752936E+06
0.3755154E+06 0.3757373E+06 0.3759591E+06 0.3761810E+06 0.3764028E+06
0.3766247E+06 0.3768465E+06 0.3770684E+06 0.3772902E+06 0.3775120E+06
0.3777339E+06 0.3779557E+06 0.3781776E+06 0.3783994E+06 0.3786213E+06
--------------------------------------------------

Any help to fix this error will be highly appreciated.

Thanks in advance,

Ram
rcpoudel is offline   Reply With Quote

 


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
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 20:16
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07


All times are GMT -4. The time now is 05:09.