|
[Sponsors] |
October 16, 2024, 18:49 |
Troubleshooting SU2 mesh file
|
#1 |
New Member
aero29
Join Date: Oct 2018
Location: United States
Posts: 6
Rep Power: 8 |
Hi Everyone ,
Here is the grid file for 1 stage (2 zone) turbomachinery case. I have written my own code to create grid file in *.su2 format. While running SU2_CFD or SU2_DEF , I am getting error - " +-----------------------------------------------------------------------+ Reading zone 0 from native SU2 ASCII mesh. Three dimensional problem. 1617 grid points. 1152 volume elements. 10 surface markers. 42 boundary elements in index 0 (Marker = PERIODIC-1A). 42 boundary elements in index 1 (Marker = PERIODIC-1B). 30 boundary elements in index 2 (Marker = PERIODIC-1C). 30 boundary elements in index 3 (Marker = PERIODIC-1D). 192 boundary elements in index 4 (Marker = HUB-ROW-1). 192 boundary elements in index 5 (Marker = SHROUD-ROW-1). 120 boundary elements in index 6 (Marker = BLADE-ROW-1A). 120 boundary elements in index 7 (Marker = BLADE-ROW-1B). 36 boundary elements in index 8 (Marker = INFLOW). 36 boundary elements in index 9 (Marker = OUTMIX). 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. ------------------------------ Error Exit ------------------------------- " It shows that BCs are read correctly. I have checked the NPOIN and NELEM, but I could not find the issue. Can someone please help me figure out the issue with grid file. Attached: su2 grid file Thank you |
|
October 17, 2024, 03:32 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
After the second keyword NPOIN=1372, you should have 1372 point coordinates x,y,z.
It looks like there are more than 1372 points in the file. |
|
October 17, 2024, 06:04 |
|
#3 | |
New Member
aero29
Join Date: Oct 2018
Location: United States
Posts: 6
Rep Power: 8 |
Quote:
I have checked the mesh file. There was an issue with elements numbers, that is fixed now and new grid file is attached. But I was not able to fix the NPOIN issue. Will be possible for you to have a quick look on the grid file again? Thank you Last edited by aero29; October 17, 2024 at 07:10. |
||
October 17, 2024, 17:36 |
|
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Well, there does not seem to be a mismatch anymore between the value of NPOIN and the actual number of points in the file. Do you really get the same error for this mesh, because it seems to me that this NPOIN problem is solved, but I only had a quick look at the SU2 file so I cannot say for sure.
|
|
October 18, 2024, 05:33 |
|
#5 |
New Member
aero29
Join Date: Oct 2018
Location: United States
Posts: 6
Rep Power: 8 |
thank you for taking out time to look into the file.
I have attached the complete package here - *.cfg file, *.su2 grid file . The mesh file looks okay to me as well. The sanity check by SU2 does not goes beyond Zone-1, so I thought the issue is in Zone-1 . Could it be because of the white-spaces or the number/ float format that might be causing this? Whenever you get sometime, please have a look. It would be a great help. Thanks again. Last edited by aero29; October 20, 2024 at 02:56. |
|
October 26, 2024, 07:45 |
|
#6 | |
New Member
aero29
Join Date: Oct 2018
Location: United States
Posts: 6
Rep Power: 8 |
Quote:
Please have a look as you get time, any lead will be helpful. Thank you |
||
October 27, 2024, 04:53 |
|
#7 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Every zone has independent numbering. So the numbering of points in zone 1 go from 0..NPOIN-1 and the number of elements also go from 0..NELEM-1, of NPOIN and NELEM of the zone it belongs to. You have not added the point index and element index at the end of the lines. I do not think it is mandatory, but especially now, it will help in seeing what is going on.
The connectivity in the elements in zone 1 has to use the point indices of the points in zone 1. You have: Code:
NPOIN= 1617 -0.03321400 0.03554698 0.38717762 Code:
NPOIN= 1617 -0.03321400 0.03554698 0.38717762 0 in the element block, you have: Code:
NELEM= 1152 12 0 1 8 7 427 428 435 434 but the last line of the element connectivity for instance is: Code:
12 2357 2358 2365 2364 2784 2785 2792 2791 You probably have to |
|
Tags |
grid check failed, troubleshooting, turbomachinery cfd |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |