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

Gmsh to SU2: NPOIN

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

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: 6
Rep Power: 2
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, 5 views)
mhollander is offline   Reply With Quote

Old   July 21, 2019, 16:49
Default
  #2
New Member
 
na
Join Date: Jul 2018
Posts: 19
Rep Power: 3
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, 8 views)
TKatt is offline   Reply With Quote

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

Reply

Tags
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
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 does not ouput SU2 markers from physical surfaces stewels SU2 3 April 14, 2017 16:14
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


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