CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

Gmsh to SU2: NPOIN

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By TKatt

LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2019, 14:16
Unhappy Gmsh to SU2: NPOIN
New Member
Moshe Hollander
Join Date: Dec 2018
Posts: 18
Rep Power: 6
mhollander is on a distinguished road
Hi All,

I'm attempting to export a grid from gmsh to SU2 and am running into some frustration.

Whenever I try to run SU2, I run into the following error:

Mismatch between NPOIN and number of points listed in mesh file.
Please check the mesh file for correctness.

I have attempted to export from gmsh by checking the 'save all' option and without checking the 'save all' option. Both give me the same error.

I have also attempted a manual check to see if the number of points match up and they seem to...

I have uploaded a .zip with all my files for reference. Note that I have made a relatively coarse grid in this case to make diagnostics easier. If anyone can find a solution to this, I would be very grateful.

Attached Files
File Type: zip (56.6 KB, 66 views)
mhollander is offline   Reply With Quote

Old   July 21, 2019, 15:49
Join Date: Jul 2018
Posts: 78
Rep Power: 7
TKatt is on a distinguished road
Hi Moshe,

just add

Physical Surface("test") = {1,2};
at the end of your .geo file and build the mesh without the saveall option. See NPOIN error on 3D mesh for my answer on what I expect to be same problem, only in 3D instead of 2D.

The name of the physical surface doesn't matter. It wont appear in the final file and you don't need that anywhere in su2. Hence the name "test"

I attached an image as a proof that I could run your mesh
Btw: good that you attached everything to debug and run the case. including the coarsening such that it is fast to reproduce *thumbs up
Btw 2.0: There is an API to pyhton which would allow you to do everything in python

Hope that helps, Tobi
Attached Images
File Type: jpg lowresairfoil.jpg (83.3 KB, 57 views)
Tahayasardemir likes this.
TKatt is offline   Reply With Quote

Old   July 22, 2019, 11:10
Default Thanks
New Member
Moshe Hollander
Join Date: Dec 2018
Posts: 18
Rep Power: 6
mhollander is on a distinguished road
Yup, that seems to have done the trick! Thanks a ton!
mhollander is offline   Reply With Quote

Old   May 17, 2023, 07:13
Default save all option
New Member
Nicola Trippella
Join Date: May 2023
Location: Milan
Posts: 15
Rep Power: 2
Nicles43 is on a distinguished road

i would like to adopt the same startegy because i have the same kind of problem

where can i find the save all option? i have to wirte it in the geo file? i am using gmsh 10.10.5
Nicles43 is offline   Reply With Quote


export, gmsh, su2, su2 error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 does not ouput SU2 markers from physical surfaces stewels SU2 4 May 17, 2023 05:15
Introducing SU2 International Developers Society (IDS) fpalacios SU2 News & Announcements 1 June 17, 2019 22:38
Issue exporting su2 format from gmsh Gaetano03 SU2 6 September 21, 2018 11:18
Gmsh mesh to SU2 error : "corrupted size vs. prev_size" Cmac22 SU2 10 August 9, 2017 12:19
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56

All times are GMT -4. The time now is 22:00.