|
[Sponsors] |
July 18, 2019, 15:16 |
Gmsh to SU2: NPOIN
|
#1 |
New Member
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7 |
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. |
|
July 21, 2019, 16:49 |
|
#2 |
Member
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8 |
Hi Moshe,
just add Code:
Physical Surface("test") = {1,2}; 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 |
|
July 22, 2019, 12:10 |
Thanks
|
#3 |
New Member
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7 |
Yup, that seems to have done the trick! Thanks a ton!
|
|
May 17, 2023, 08:13 |
save all option
|
#4 |
New Member
Nicola Trippella
Join Date: May 2023
Location: Milan
Posts: 14
Rep Power: 3 |
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 |
|
Tags |
export, gmsh, su2, su2 error |
|
|
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 |