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

[Gmsh] GMSH error when meshing "airfoil_validation" githib's example

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2018, 10:32
Default GMSH error when meshing "airfoil_validation" githib's example
  #1
New Member
 
Francisco Pantano
Join Date: Oct 2018
Posts: 3
Rep Power: 8
uzzi is on a distinguished road
Hello,

I am new to GMSH and OpenFoam but have some ground knowledge in both.

I found this example in Github:

https://github.com/openfoamtutorials/airfoil_validation

But when I try to mesh the file main.geo with the following command:

gmsh main.geo -3 -o main.msh

I get continuous errors from gmsh:

Error : Wrong list index (read)

Are you familiar with this example and have solve the problem? I would appreciate your help.

Thank you very much.
uzzi is offline   Reply With Quote

Old   October 11, 2018, 15:08
Default
  #2
New Member
 
Jeff Kollasch
Join Date: Dec 2011
Location: Ames, Iowa
Posts: 5
Rep Power: 15
spatz is on a distinguished road
Hi,


I downloaded and unzipped the zip archive you referenced, cd'ed to the mesh directory and ran


gmsh -3 main.geo


(no need for -o main.msh as this is the default output mesh filename)


It took about a minute, but produced a nice mesh with 73597 elements and no error messages. This was with Gmsh version 3.0.6 as distributed in the Ubuntu 18.04 package.
spatz is offline   Reply With Quote

Old   October 11, 2018, 17:05
Default Solved
  #3
New Member
 
Francisco Pantano
Join Date: Oct 2018
Posts: 3
Rep Power: 8
uzzi is on a distinguished road
Hello, Thanks for your answer...

Finally I did manage to sovle the problem. In my case I had to modify the code in each line after "ce++" was called not to subtract -1. Now I get the mesh and can run the example.

Maybe different versions of gmsh?
uzzi is offline   Reply With Quote

Reply

Tags
airfoil, gmsh, meshing, openfoam


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] Converting gmsh to OpenFoam Friendly OpenFOAM Meshing & Mesh Conversion 3 June 26, 2018 06:46
[Gmsh] Insatlling gmsh from the source code-issue? CFD-Lover OpenFOAM Meshing & Mesh Conversion 20 June 12, 2018 07:39
[Gmsh] Meshing of a cone with Gmsh didn't quite work ehofgen OpenFOAM Meshing & Mesh Conversion 4 May 2, 2018 17:45
Singularity of grid?Volume meshing vs face meshing Ken Main CFD Forum 0 September 4, 2003 12:09
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 12:08


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