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

[Gmsh] Gmsh trouble converting to openFOAM?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2020, 21:54
Default Gmsh trouble converting to openFOAM?
  #1
New Member
 
NotApplicable
Join Date: Jun 2020
Posts: 2
Rep Power: 0
skodali is on a distinguished road
I have had a lot of trouble with gmsh recently. I believe I finally got a unstructured volume mesh, however.

So anyway, I finally generated a volume mesh with an internal 'hole volume' (boundary), and I exported the .msh file, and if I choose version 4 ASCII I get an error that it cannot convert "higher-order" meshes. I don't know how to generate lower order meshes in gmsh... or that it was even generating higher-order meshes.

I try exporting Version 1, and it successfully converts, but everything is 1 zone, 0, where does it find the zone information?? Does anyone know how to remedy this? https://i.imgur.com/sHpGeLF.png

Any help would be really appreciated.

EDIT:

Solved! The problem was that in addition to making a volume elementary entity before generating the volume mesh, I also had to add a volume physical group before exporting it. Then, I exported it using version 2, and unchecked the all elements box.

Last edited by skodali; June 14, 2020 at 21:33.
skodali is offline   Reply With Quote

Old   June 10, 2020, 19:51
Default
  #2
Member
 
Etienne Lorriaux
Join Date: Mar 2009
Location: Compiegne, France
Posts: 45
Rep Power: 17
elorriaux is on a distinguished road
Hello, try using gmsh version 2 format, in ascii.
elorriaux is offline   Reply With Quote

Reply

Tags
gmsh, mesh, mesh 3d


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] Issue converting mesh from gmsh to openFoam victorbelenense OpenFOAM Meshing & Mesh Conversion 9 February 20, 2019 06:17
Can't convert my mesh created in Gmsh to OpenFOAM Crystal 95 OpenFOAM 1 May 2, 2018 11:42
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Trouble with sampleDict syntax for OpenFOAM 2.3.1 rawdoggity OpenFOAM Post-Processing 1 February 1, 2015 06:24
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


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