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

NPOIN Mismatch Mesh Error

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

Like Tree1Likes
  • 1 Post By Shruti Arumbakkam

LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2018, 18:15
Default NPOIN Mismatch Mesh Error
New Member
Shruti Arumbakkam
Join Date: Nov 2018
Posts: 1
Rep Power: 0
Shruti Arumbakkam is on a distinguished road
Dear Sir/madam/anyone who might be able to help,

I recently started using SU2 to perform incompressible CFD analysis on a custom wing our research group made--the way I have the simulation set up right now is pretty much quite similar to the inviscid ONERA M6 example on the SU2 website, in terms of the placement of my wing in the geometry that's being meshed. If anyone could help answer my questions, I'd be very grateful:

1) When I tried to run the simulation, I got the following 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.

On manually checking my mesh file, I did not find any discrepancy between the number of points stated in the file and the number of points there actually were (I just subtracted the line numbers between where the first line where the points started and where the last point was listed). What could be the problem? I couldn't really think of what was going wrong here

2) I'm trying to simulate the model with viscosity, and so I have the following markers:
Inlet (specified with temperature, and a velocity in the +ve x direction)
Outlet(specified with just atmospheric pressure)
Far-field (I used all the walls of my box expect the symmetry wall for this marker)
Symmetry (just the wall that is touched by the root of my wing)
Heatflux (my wing surface)
Plotting (wing surface)
Monitoring (wing surface)

Is that definition correct/ am I on the right track? Are those the correct things to specify/is there anything else I should add/remove?

Thank you so much to whomever can help me; I would be extremely grateful
AaronFeria likes this.
Shruti Arumbakkam is offline   Reply With Quote

Old   November 23, 2018, 07:46
Pedro Gomes
Join Date: Dec 2017
Posts: 32
Rep Power: 3
pcg is on a distinguished road
Can you upload the mesh?
pcg is offline   Reply With Quote

Old   January 11, 2019, 18:07
New Member
Trushant Patel
Join Date: Feb 2017
Posts: 2
Rep Power: 0
trushant is on a distinguished road
Hey Shruti -

Were you able to solve this problem ? I am having the same problem.

Pedro - I have attached my mesh file. Basically, I was trying to do a tutorial from one of the files online. It used .geo file with gmsh software for getting the .su2 mesh file. I modified the geometry file to include a spline from a number of lines in the nozzle contour. The original case works perfectly fine, but the modified one doesn't. I am also attaching my geometry file for gmsh. Can you please take a look and see if anything is wrong.

Thanks a lot,
Trushant Patel
Attached Files
File Type: gz nozzle_new.su2.gz (126.9 KB, 0 views)
File Type: gz nozzle_new.geo.gz (640 Bytes, 0 views)
trushant is offline   Reply With Quote

Old   January 12, 2019, 03:28
New Member
Trushant Patel
Join Date: Feb 2017
Posts: 2
Rep Power: 0
trushant is on a distinguished road
Never mind. Found my mistake.

Upon close inspection, I saw that Gmsh was exporting the points used in construction of spline in the NPOINTS of SU2 mesh, but wasn't using those points in construction of NELEMENTS. So, I created a Physical space of the surface, and then exported it to SU2 format without checking the box of 'Save all'. And it did the trick for me.

Thanks anyways!!!

Trushant Patel
trushant is offline   Reply With Quote



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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
blockMesh with double grading. spwater OpenFOAM Native Meshers: blockMesh 92 January 12, 2019 10:00
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 05:53
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07

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