CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Issues With Exporting From GMSH

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2021, 11:11
Default Issues With Exporting From GMSH
  #1
New Member
 
Randall Berdon
Join Date: Sep 2019
Posts: 1
Rep Power: 0
rberdon is on a distinguished road
Hello CFDOnline community,

I have just started using GMSH recently and seem to have run into a problem. My goal is to use GMSH to export a mesh and convert into an OpenFOAM usable mesh using the gmshTofoam utility. Currently, I am experimenting the capabilities of GMSH with a simple cube. The cube I have imported in GMSH as a .stp file which reads in as curves, surfaces, and a single volume. I then identify the physical surfaces and physical volume. I use the basic 3D meshing option within GMSH which creates a mesh. I export the mesh as a version 2 ASCII file as a .msh format. I then put this file in a directory with the system folder which has my controlDict. I use the utility gmshToOpenFOAM and get the following result:

Starting to read physical names at line 5
Physical names:3
Surface 1 Inlet
Surface 2 Outlet
Volume 3 Internal

Starting to read points at line 11
Vertices to be read:303
Vertices read:303

Starting to read cells at line 317
Cells to be read:1534

Unhandled element 15 at line 319
Unhandled element 15 at line 320
Unhandled element 15 at line 321
Unhandled element 15 at line 322
Unhandled element 15 at line 323
Unhandled element 15 at line 324
Unhandled element 15 at line 325
Unhandled element 15 at line 326
Unhandled element 1 at line 327
Unhandled element 1 at line 328
Unhandled element 1 at line 329
Unhandled element 1 at line 330
Unhandled element 1 at line 331
Unhandled element 1 at line 332
Unhandled element 1 at line 333
Unhandled element 1 at line 334
Unhandled element 1 at line 335
Unhandled element 1 at line 336
Unhandled element 1 at line 337
Unhandled element 1 at line 338
Unhandled element 1 at line 339
Unhandled element 1 at line 340
Unhandled element 1 at line 341
Unhandled element 1 at line 342
Unhandled element 1 at line 343
Unhandled element 1 at line 344
Unhandled element 1 at line 345
Unhandled element 1 at line 346
Unhandled element 1 at line 347
Unhandled element 1 at line 348
Unhandled element 1 at line 349
Unhandled element 1 at line 350
Unhandled element 1 at line 351
Unhandled element 1 at line 352
Unhandled element 1 at line 353
Unhandled element 1 at line 354
Unhandled element 1 at line 355
Unhandled element 1 at line 356
Unhandled element 1 at line 357
Unhandled element 1 at line 358
Unhandled element 1 at line 359
Unhandled element 1 at line 360
Unhandled element 1 at line 361
Unhandled element 1 at line 362
Unhandled element 1 at line 363
Unhandled element 1 at line 364
Unhandled element 1 at line 365
Unhandled element 1 at line 366
Unhandled element 1 at line 367
Unhandled element 1 at line 368
Unhandled element 1 at line 369
Unhandled element 1 at line 370
Unhandled element 1 at line 371
Unhandled element 1 at line 372
Unhandled element 1 at line 373
Unhandled element 1 at line 374
Unhandled element 1 at line 375
Unhandled element 1 at line 376
Unhandled element 1 at line 377
Unhandled element 1 at line 378
Unhandled element 1 at line 379
Unhandled element 1 at line 380
Unhandled element 1 at line 381
Unhandled element 1 at line 382
Unhandled element 1 at line 383
Unhandled element 1 at line 384
Unhandled element 1 at line 385
Unhandled element 1 at line 386
Unhandled element 1 at line 387
Unhandled element 1 at line 388
Unhandled element 1 at line 389
Unhandled element 1 at line 390
Unhandled element 1 at line 391
Unhandled element 1 at line 392
Unhandled element 1 at line 393
Unhandled element 1 at line 394
Unhandled element 1 at line 395
Unhandled element 1 at line 396
Unhandled element 1 at line 397
Unhandled element 1 at line 398
Mapping region 0 to Foam patch 0
Mapping region 0 to Foam cellZone 0
Cells:
total:946
hex :0
prism:0
pyr :0
tet :946

CellZones:
Zone Size
0 946

Skipping tag at line 1854

My question is, why am I getting unhandled elements? This seems to be resulting in OpenFOAM not registering the correct boundaries that I have specified and all elements getting stuck into a single default patch. Any insights would be useful.
rberdon 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
[Gmsh] Exporting dual mesh from GMSH dimitri.tratkanov OpenFOAM Meshing & Mesh Conversion 1 April 2, 2019 16:05
Issue exporting su2 format from gmsh Gaetano03 SU2 6 September 21, 2018 11:18
Exporting dual mesh from GMSH dimitri.tratkanov Mesh Generation & Pre-Processing 0 January 6, 2016 10:12
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


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