|
[Sponsors] |
January 12, 2017, 13:37 |
Using gmshToFoam
|
#1 |
New Member
Rishabh Golchha
Join Date: Sep 2016
Posts: 12
Rep Power: 10 |
I have created a mesh using gmsh. When I run
Code:
gmshToFoam Gasifier.msh -case case /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 4.0 Exec : gmshToFoam Gasifier.msh -case case Date : Jan 13 2017 Time : 04:35:24 Host : "rishabh-HP-15-Notebook-PC" PID : 10009 Case : ./case nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Starting to read mesh format at line 2 Read format version 2.2 ascii 0 Starting to read physical names at line 5 Physical names:6 Surface 1 Inlet Surface 2 Outlet Surface 3 Wall1 Surface 4 Wall2 Surface 5 Wedge1 Surface 6 Wedge2 Starting to read points at line 14 Vertices to be read:2633 Vertices read:2633 Starting to read cells at line 2650 Cells to be read:4923 Mapping region 5 to Foam patch 0 Mapping region 4 to Foam patch 1 Mapping region 3 to Foam patch 2 Cells: total:0 hex :0 prism:0 pyr :0 tet :0 --> FOAM FATAL IO ERROR: No cells read from file "Gasifier.msh" Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)? Perhaps you have not exported the 3D elements? file: Gasifier.msh at line 7575. From function void readCells(Foam::scalar, bool, const pointField&, const Foam::Map<long int>&, Foam::IFstream&, Foam::cellShapeList&, Foam::labelList&, Foam::List<Foam:ynamicList<Foam::face> >&, Foam::labelList&, Foam::List<Foam:ynamicList<long int> >&) in file gmshToFoam.C at line 726. FOAM exiting |
|
January 16, 2017, 08:55 |
|
#2 |
New Member
Join Date: Jan 2017
Posts: 11
Rep Power: 9 |
It seems to me like you don't have any 3D cell.
Did you correctly define a 3D mesh in gmsh? Maybe you didn't extrude? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] gmshToFoam problem. | nilashansen | OpenFOAM Meshing & Mesh Conversion | 11 | June 5, 2016 11:45 |
[Gmsh] Cell to node connectivity after 'gmshToFoam' | Jibran | OpenFOAM Meshing & Mesh Conversion | 1 | June 8, 2015 10:09 |
[Gmsh] gmshTofoam pbm with cyclicAMI | acahuzac | OpenFOAM Meshing & Mesh Conversion | 2 | October 20, 2014 04:53 |
[Gmsh] gmshToFoam command | mvinassa | OpenFOAM Meshing & Mesh Conversion | 1 | April 25, 2014 08:36 |
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview | zhernadi | OpenFOAM Meshing & Mesh Conversion | 8 | July 7, 2011 03:28 |