CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing Format & General Technical (
-   -   Plot3DtoFoam conversion error (

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
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: 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.


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