CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Gmsh to SU2: NPOIN

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By TKatt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2019, 15:16
Unhappy Gmsh to SU2: NPOIN
  #1
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
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.


Cheers,
Moshe.
Attached Files
File Type: zip 0012_test.zip (56.6 KB, 78 views)
mhollander is offline   Reply With Quote

Old   July 21, 2019, 16:49
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8
TKatt is on a distinguished road
Hi Moshe,

just add

Code:
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 http://gmsh.info/doc/texinfo/gmsh.html#Gmsh-API which would allow you to do everything in python



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

Old   July 22, 2019, 12:10
Default Thanks
  #3
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
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, 08:13
Default save all option
  #4
New Member
 
Nicola Trippella
Join Date: May 2023
Location: Milan
Posts: 14
Rep Power: 3
Nicles43 is on a distinguished road
hi


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

Reply

Tags
export, gmsh, su2, su2 error


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


All times are GMT -4. The time now is 16:33.