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

[Gmsh] GmshToFoam FOAM FATAL ERROR faces deallocated

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 18, 2005, 14:42
Default GmshToFoam FOAM FATAL ERROR faces deallocated
  #1
Tobias Prousa (Prousa)
Guest
 
Posts: n/a
Hi,

I try to generate a mesh using gmsh and later translate it into a OpenFOAM mesh using gmshToFoam, but I alwas get the error:

FOAM FATAL ERROR : faces deallocated

I think I am missing something in gmsh, but don't know what.
Here is what I did: In gmsh I created 8 points, connected them with straight lines to a cube, added 6 surfaces and then added a volume. After that I selected 'mesh'->'3d' and the saved the mesh as version1 .msh. When I now try to import the mesh in OpenFOAM using gmshToFoam this is what I get:

#> gmshToFoam . cavity test.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.0.2 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : gmshToFoam . cavity test.msh
Date : Feb 18 2005
Time : 20:33:25
Host : archer
PID : 11536
Root : /home/tobi/OpenFOAM/OpenFOAM-1.0.2/tutorials/icoFoam
Case : cavity
Nprocs : 1
Create database

Read nVerts:676

Read nElems:1456

Mapping region 14 to Foam patch 0
Mapping region 16 to Foam patch 1
Mapping region 18 to Foam patch 2
Mapping region 20 to Foam patch 3
Mapping region 22 to Foam patch 4
Mapping region 24 to Foam patch 5
Cells:
total:0
hex :0
prism:0
pyr :0
tet :0

Patches:
Patch Size
0 222
1 224
2 224
3 224
4 228
5 226


--> FOAM FATAL ERROR : faces deallocated

Function: const faceList& polyMesh::allFaces() const
in file: meshes/polyMesh/polyMesh.C at line: 526.

FOAM aborting

Aborted


Any idea what I am doing wrong? Thanks, Tobi
  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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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