|
[Sponsors] |
November 30, 2007, 08:32 |
GmshToFoam
|
#1 |
New Member
Varun Vikas
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
Hi
I am trying to convert the "CubeVer1.msh" (present in $FOAM_UTILITIES/mesh/conversion/gmshToFoam/). I created a case gmshTest in $FOAM_RUN/tutorials/icoFoam/ and then executed the following command gmshToFoam $FOAM_RUN/tutorials/icoFoam/ gmshTest $FOAM_RUN/tutorials/icoFoam/gmshTest/CubeVer1.msh and got the following output /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : gmshToFoam /home/vxv/OpenFOAM/varun-1.3/run/tutorials/icoFoam/ gmshTest /home/vxv/OpenFOAM/varun-1.3/run/tutorials/icoFoam/gmshTest/CubeVer1.msh Date : Nov 30 2007 Time : 18:49:21 Host : sarkeshwar PID : 30400 Root : /home/vxv/OpenFOAM/varun-1.3/run/tutorials/icoFoam/ Case : gmshTest Nprocs : 1 Create time Read nVerts:167 Read nElems:838 Mapping region 27 to Foam patch 0 Mapping region 28 to Foam patch 1 Mapping region 29 to Foam patch 2 Mapping region 30 to Foam cellZone 0 Cells: total:622 hex :0 prism:0 pyr :0 tet :622 Patches: Patch Size 0 36 1 36 2 144 CellZones: Zone Size 0 622 --> FOAM Warning : From function polyMesh::polyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 573 Found 216 undefined faces in mesh; adding to default patch. Finding faces of patch 0 Finding faces of patch 1 Finding faces of patch 2 FaceZones: Zone Size Writing zone 0 to cellZone cellZone_0 and cellSet End After running the solver, I use the followign command for opeining the case in paraFoam paraFoam $FOAM_RUN/tutorials/icoFoam/ gmshTest When I click accept, paraFoam crashes with folowing error: /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ --> FOAM FATAL IO ERROR : attempt to read beyond EOF file: /home/vxv/OpenFOAM/varun-1.3/run/tutorials/icoFoam//gmshTest/0/p::internalField at line 30. From function ITstream::read(token& t) in file db/IOstreams/Tstreams/ITread.C at line 70. FOAM exiting I am new to OpenFoam. I will be extremely grateful if somebody could help. Thanks Varun |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] New version of gmshToFoam? | stootoon | OpenFOAM Meshing & Mesh Conversion | 7 | February 14, 2022 09:01 |
[Gmsh] gmshToFoam problem. | nilashansen | OpenFOAM Meshing & Mesh Conversion | 11 | June 5, 2016 10:45 |
[Gmsh] Cell to node connectivity after 'gmshToFoam' | Jibran | OpenFOAM Meshing & Mesh Conversion | 1 | June 8, 2015 09:09 |
[Gmsh] gmshTofoam pbm with cyclicAMI | acahuzac | OpenFOAM Meshing & Mesh Conversion | 2 | October 20, 2014 03:53 |
[Gmsh] gmshToFoam command | mvinassa | OpenFOAM Meshing & Mesh Conversion | 1 | April 25, 2014 07:36 |