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

[Gmsh] gmshToFoam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2021, 07:42
Default gmshToFoam error
  #1
New Member
 
FOAMraj
Join Date: Apr 2021
Posts: 19
Rep Power: 5
BIRAJ is on a distinguished road
I constructed a mesh on the cylinder using gmsh. And then exported to the .msh file and used the gmshToFoam utility. I even exported the mesh in ASCII version 2 and 4. I tried fluent3DToFoam and fluentMeshToFoam but I got an error.
I got an error like this:

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _7bdb509494-20201222 OPENFOAM=2012
Arch : "LSB;label=32;scalar=64"
Exec : gmshToFoam newcylinder.msh
Date : Oct 07 2021
Time : 16:21:17
Host : DESKTOP-FG117BH
PID : 18739
I/O : uncollated
Case : /home/biraj/Heat_Transfer/cavity
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
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:4
Surface 8 inlet
Surface 9 outlet
Surface 10 wall
Volume 7 fluid

Starting to read points at line 12
Vertices to be read: 11658
Vertices read:11658

Starting to read cells at line 11673
Cells to be read: 57200

Mapping region 10 to Foam patch 0
Mapping region 9 to Foam patch 1
Mapping region 8 to Foam patch 2
Mapping region 7 to Foam cellZone 0
Cells:
total:44672
hex :0
prism:0
pyr :0
tet :44672

CellZones:
Zone Size
0 44672

Patch 0 gets name wall
Patch 1 gets name outlet
Patch 2 gets name inlet

--> FOAM Warning :
From Foam:olyMesh:olyMesh(const Foam::IOobject&, Foam:ointField&&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 645
Found 5920 undefined faces in mesh; adding to default patch defaultFaces
Finding faces of patch 0
--> FOAM Warning : Not using gmsh face 3(2988 3568 3570) since zero vertex is not on boundary of polyMesh
--> FOAM Warning :
From int main(int, char**)
in file gmshToFoam.C at line 1550
Could not match gmsh face 3(2988 3568 3570) to any of the interior or exterior faces that share the same 0th point
--> FOAM Warning : Not using gmsh face 3(3568 3569 3570) since zero vertex is not on boundary of polyMesh
--> FOAM Warning :
From int main(int, char**)
in file gmshToFoam.C at line 1550
Could not match gmsh face 3(3568 3569 3570) to any of the interior or exterior faces that share the same 0th point
BIRAJ is offline   Reply With Quote

Old   March 30, 2023, 17:46
Default
  #2
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Hello,

I am facing the same problem. Have you been able to resolve it?
sinatahmooresi is offline   Reply With Quote

Old   May 30, 2024, 10:05
Default
  #3
New Member
 
Matias Alberto Aguirre
Join Date: Mar 2023
Posts: 12
Rep Power: 3
maguirre is on a distinguished road
Hi!
Did anyone solve this problem? I am facing the same one.
maguirre is offline   Reply With Quote

Old   May 30, 2024, 10:18
Default
  #4
New Member
 
Matias Alberto Aguirre
Join Date: Mar 2023
Posts: 12
Rep Power: 3
maguirre is on a distinguished road
Hi!
Did anyone solve this problem? I am facing the same one.
maguirre is offline   Reply With Quote

Reply

Tags
gmsh 4.8.4, mesh conversion


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
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 21:30
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24


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