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

[Commercial meshers] GambitToFoam error please help me

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2006, 08:27
Default GambitToFoam error please help me
  #1
gabrieler
Guest
 
Posts: n/a
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
  Reply With Quote

Old   November 8, 2006, 10:25
Default Try loading the mesh into Flue
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Try loading the mesh into Fluent and writing it out and then try again.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 8, 2006, 10:30
Default I can't. I haven't Fluent. Ga
  #3
gabrieler
Guest
 
Posts: n/a
I can't. I haven't Fluent.
Gabriele
  Reply With Quote

Old   November 8, 2006, 10:34
Default But you have Gambit, which mea
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
But you have Gambit, which means you can save it in fluent format "msh".
So, try that and use fluentMeshToFoam insead of gambitToFoam.

Dragos
dmoroian is offline   Reply With Quote

Old   November 8, 2006, 10:41
Default Hi Gabrielle, In any case,
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
[Commercial meshers] GambitToFoam segmentation fault yurifrey OpenFOAM Meshing & Mesh Conversion 2 August 3, 2013 08:36
[Commercial meshers] gambitToFoam for conjugate heat transfer operita OpenFOAM Meshing & Mesh Conversion 1 March 24, 2012 10:49
[Commercial meshers] gambitToFoam mesh convertion error gascortado OpenFOAM Meshing & Mesh Conversion 1 January 19, 2011 06:51
[Commercial meshers] gambitToFoam boundary defining problem maysmech OpenFOAM Meshing & Mesh Conversion 0 April 21, 2010 04:41
GambitToFoam segmentation fault hoerl OpenFOAM Installation 3 November 20, 2006 06:47


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