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

SU2 Mesh Generation from Gmsh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2023, 09:14
Default SU2 Mesh Generation from Gmsh
  #1
New Member
 
chang xu
Join Date: Aug 2023
Posts: 4
Rep Power: 3
chang xu is on a distinguished road
Hi everyone,

I am now trying generating a *.su2 file for aerodynamic calculations. But I keeps getting the error:

Error in "void CPhysicalGeometry:istributeColoring(CConfig*, CGeometry*)":
-------------------------------------------------------------------------
Mismatch between NPOIN and number of points listed in mesh file.
Please check the mesh file for correctness.

I have already turned off the saveall elements option during the exportation of .su2 file.

Attached is the .geo file I am using. Can someone give me a hint of how to solve this problem? It would be much appriechiated.

Best regards
Attached Files
File Type: zip atr72-500_out.zip (738 Bytes, 7 views)
chang xu is offline   Reply With Quote

Old   August 14, 2023, 16:19
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Did you inspect the su2 file and check that you have points and elements in the file? Mistakes during the setup can result in gmsh not writing the point coordinates or the element connectivity.
bigfootedrockmidget is offline   Reply With Quote

Old   August 15, 2023, 08:02
Default
  #3
New Member
 
chang xu
Join Date: Aug 2023
Posts: 4
Rep Power: 3
chang xu is on a distinguished road
Hi,

thank you so much for your reply.

I've checkey my su2 file, and there are no elements in the file
And I have just found out that the problem is in my .geo file. The surface loop in the .geo file should include all the Surfaces in my case. And then define the physical surfaces.

Thanks again for your help!

Best regards
chang xu is offline   Reply With Quote

Old   August 21, 2023, 12:03
Default
  #4
New Member
 
Giordana Bonavolontà
Join Date: Apr 2023
Posts: 2
Rep Power: 0
giobon94 is on a distinguished road
Hello I am having the same problem, could you please upload your corrected .geo file ?
Thanks
giobon94 is offline   Reply With Quote

Old   August 22, 2023, 04:16
Default
  #5
New Member
 
chang xu
Join Date: Aug 2023
Posts: 4
Rep Power: 3
chang xu is on a distinguished road
Quote:
Originally Posted by giobon94 View Post
Hello I am having the same problem, could you please upload your corrected .geo file ?
Thanks
Hi,

I have attached my .geo file in the attachment. My geo file is a very simple case for generating a farfield mesh around a predefined model.

Hope this helps!

Best regard
Attached Files
File Type: zip geo.zip (713 Bytes, 8 views)
chang xu is offline   Reply With Quote

Old   August 22, 2023, 06:12
Default
  #6
New Member
 
Giordana Bonavolontà
Join Date: Apr 2023
Posts: 2
Rep Power: 0
giobon94 is on a distinguished road
Hello and thanks, but I still have the same error in SU2 "Error in "void CPhysicalGeometry:istributeColoring(const CConfig*, CGeometry*)":
-------------------------------------------------------------------------
Mismatch between NPOIN and number of points listed in mesh file.
Please check the mesh file for correctness."

Are you sure it worked for you in SU2 ? If yes, can you also please upload your SU2 cfg file ?
regards
giobon94 is offline   Reply With Quote

Reply


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
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 13:38
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[Gmsh] How to resolve gmsh 3D mesh generation errors Mugen996 OpenFOAM Meshing & Mesh Conversion 0 March 16, 2020 09:01
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38


All times are GMT -4. The time now is 14:38.