CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Error!!! Can't find the edge that connects 129 and 132 (https://www.cfd-online.com/Forums/su2/162146-error-cant-find-edge-connects-129-132-a.html)

amelies November 4, 2015 11:23

Segmentation fault (core dumped)
 
1 Attachment(s)
Hello there,
I am new to this forum (and to SU2). I hope this is the right place for my question.

I wrote a python script to generate my diffuser mesh. I have also a script to visualise the mesh and it seems that there is an edge in between all the nodes.
I attached a picture of the coarse mesh as reference.
http://s30.postimg.org/qum4rw3ql/coarse.jpg

Then, I modified the standard .cfg to suit my needs. In particular, the lowest boundary is set as a symmetry axis.

I uploaded all my scripts in the attached .zip file
you need python to run the scripts

The error I get when trying to run the simulation is

Quote:

------------------------- Geometry Preprocessing ------------------------
Setting point connectivity.
Renumbering points (Reverse Cuthill McKee Ordering).
Recomputing point connectivity.
Setting element connectivity.
Checking the numerical grid orientation.
Identifying edges and vertices.
Computing centers of gravity.
Setting the control volume structure.
Area of the computational grid: 0.035.


!!! Error !!!

Can't find the edge that connects 129 and 132.
those points should not be connected, they are not adjacent. Why SU2 is trying to link them?

amelies November 5, 2015 10:01

2 Attachment(s)
I found an error in my script.

I was using "quadrilateral" elements identifier while defining elements with "pixel" convention. By setting the identifier to 6 now I get

Quote:

---------------------- Read Grid File Information -----------------------
Two dimensional problem.
104 points.
4 surface markers.
4 boundary elements in index 0 (Marker = left).
4 boundary elements in index 1 (Marker = right).
48 boundary elements in index 2 (Marker = up).
48 boundary elements in index 3 (Marker = down).
Segmentation fault (core dumped)
any idea?

talbring November 9, 2015 05:37

Hi amelies,


what do you mean by "pixel" convention ? SU2 needs the definition of elements in the mesh file like it is described here: https://github.com/su2code/SU2/wiki/Mesh-File

amelies November 9, 2015 06:10

HI Tim, thanks for the reply.

I was referring to this numbering convention.
However, I changed to "quadrilateral" and now the simulation is running.


All times are GMT -4. The time now is 03:35.