CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing Format & General Technical (http://www.cfd-online.com/Forums/openfoam-meshing-technical/)
-   -   Plot3DtoFoam conversion error (http://www.cfd-online.com/Forums/openfoam-meshing-technical/61918-plot3dtofoam-conversion-error.html)

dinonettis March 29, 2008 07:03

Hi everybody, I'm trying to
 
Hi everybody,

I'm trying to import a 2d naca profile written in Plot3d but I get the following error:

Exec : plot3dToFoam /home/dino/OpenFOAM/dino-1.4.1/run/tutorials/potentialFoam/ nacaPotential naca_0012.xyz
Date : Mar 29 2008
Time : 11:51:46
Host : ime054
PID : 5316
Root : /home/dino/OpenFOAM/dino-1.4.1/run/tutorials/potentialFoam/
Case : nacaPotential
Nprocs : 1
Create time

Reading 1 blocks
xDim:257 yDim:129 zDim:1
Reading block points
block 0:


--> FOAM FATAL IO ERROR : Attempt to get back from bad stream

file: naca_0012.xyz at line 5.

From function void Istream::getBack(token& t)
in file db/IOstreams/IOstreams/Istream.C at line 44.

FOAM exiting

I don't know if this utilities needs a 3d mesh to convert, but if I remember correctly openfoam automatically introduce a third dimension.
Thank you in advance for any support.

dino


All times are GMT -4. The time now is 10:36.