CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] GambitToFoam error please help me (https://www.cfd-online.com/Forums/openfoam-meshing/61723-gambittofoam-error-please-help-me.html)

gabrieler November 8, 2006 07:27

GambitToFoam error please help me
 
Hi,
I a problem. I have generated a mesh using gambit 2.2.30. The mesh format is neu.
When I try to convert this to openfoam I get the following error:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web:
Http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : gambitToFoam /home/Gabriele/OpenFOAM/Gabriele-1.3/run/tutorials/icoFoam/ mod2Dpr mesh_1.neu
Date : Nov 08 2006
Time : 14:09:28
Host : linux-26vo
PID : 5356
Root : /home/Gabriele/OpenFOAM/Gabriele-1.3/run/tutorials/icoFoam/
Case : mod2Dpr
Nprocs : 1
Create time


Title: mesh 1
Written by Gambit version 2.2.30

Nov 2006 number of points: 15262
number of cells: 5701
number of patches: 6
Reading nodal coordinates
Reading cells

Reading cell streams
Reading cell stream labels
Finished reading cell stream labels
Reading patches
patch 0: name: inlet
Reading patches
patch 1: name: outlet
Reading patches
patch 2: name: wall
Reading patches


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

file: IStringStream.sourceFile at line 0.

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

FOAM exiting

Can anyone help me ?
I'm sorry, my english is not good.
Thanks

Gabriele

hjasak November 8, 2006 09:25

Try loading the mesh into Flue
 
Try loading the mesh into Fluent and writing it out and then try again.

Hrv

gabrieler November 8, 2006 09:30

I can't. I haven't Fluent. Ga
 
I can't. I haven't Fluent.
Gabriele

dmoroian November 8, 2006 09:34

But you have Gambit, which mea
 
But you have Gambit, which means you can save it in fluent format "msh".
So, try that and use fluentMeshToFoam insead of gambitToFoam.

Dragos

hjasak November 8, 2006 09:41

Hi Gabrielle, In any case,
 
Hi Gabrielle,

In any case, there should not be a problem. Can I have a look at that Gambit file (I wrote the converter). You can find my E-mail address in the profile.

Hrv


All times are GMT -4. The time now is 02:51.