<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi Stefan,<br><br>Do you recall the repo at which point this started to be the case?  We have a similar code to convert gambit files and a majority of the time is spent getting this connectivity information.  If we don't need it then that is welcomed news! <br><br>- Michael M.<br><br>----- Original Message -----<br>From: nek5000-users@lists.mcs.anl.gov<br>To: nek5000-users@lists.mcs.anl.gov<br>Sent: Friday, December 10, 2010 4:11:26 AM GMT -06:00 US/Canada Central<br>Subject: Re: [Nek5000-users] Connectivety<br><br>Antonois:<br><br>I understand your confusion. Let me backup a little bit.<br><br>Genmap will try to establish a unique global numbering for all element vertices. Basically, genmap tries to detect (based on the vertex coordinates) the shared vertices and will assign a global id. We compute what you call the connectivity information on the fly (during the setup phase of Nek) based on the global vertex ids read from the .map file. <br><br>You're right the old ASCII .rea file contains the elemental connectivity but this information is no longer used (we do a formatted dummy read for these lines). The .re2 file does not contain this information anymore.<br><br><br>hth,<br>Stefan<br><br><br>----- Original Message -----<br>From: nek5000-users@lists.mcs.anl.gov<br>To: nek5000-users@lists.mcs.anl.gov<br>Sent: Friday, December 10, 2010 10:10:16 AM<br>Subject: Re: [Nek5000-users] Connectivety<br><br>Thank you for the responses.<br>However maybe my question I was clear before. I try again: Ok, the<br>connectivity information comes from the rea file when you run genmap,<br>but is it computed based on the spatial coordinates given in the rea<br>file, or is it just taken from the connectivity information given later,<br>also in the rea file along with the boundary conditions?<br><br>What we experience is that we have a grid which is created in Matlab and<br>then we write it in "rea file format" which is later read by genmap and<br>reatore2 etc. This rea file, after the spatial coordinates of the<br>element corners, contains a list with all the elements and their<br>connectivity information.<br>Here is what two lines looks like:<br><br>W 4 1  0.000000      0.000000      0.000000      0.000000      0.000000<br>E 4 2  5.000000      4.000000      0.000000      0.000000      0.000000<br><br>Here I specify Wall condition for element 4 and face 1 and Element<br>condition for face 2 that connects to element 5 with face 4.<br>But then when I removed my connectivity info, that is having every where<br> zeros in the 4th and 5th column:<br><br>W 4 1  0.000000      0.000000      0.000000      0.000000      0.000000<br>E 4 2  0.000000      0.000000      0.000000      0.000000      0.000000<br><br>the case seemed to run fine, and the flow looked correct.<br>Does this mean that the connectivity specified there does not matter?<br><br>Best,<br>/Antonios<br><br><br><br>nek5000-users@lists.mcs.anl.gov wrote:<br>> This is correct.<br>> -Stefan<br>> <br>> ----- Original Message -----<br>> From: nek5000-users@lists.mcs.anl.gov<br>> To: nek5000-users@lists.mcs.anl.gov<br>> Sent: Thursday, December 9, 2010 6:15:02 PM<br>> Subject: Re: [Nek5000-users] Connectivety<br>> <br>> Hi Antonios,<br>> <br>> I could be wrong but I think that the only connectivity information that <br>> Nek5000 need comes from global vertexi element numbering genereated by <br>> .map file which is in turn produced by running genmap on .rea file<br>> <br>> Best,<br>> Aleks<br>> <br>> <br>> On Thu, 9 Dec 2010, nek5000-users@lists.mcs.anl.gov wrote:<br>> <br>>> Hello Paul,<br>>> I have a question about the connectivity of the elements.<br>>> In the old rea file format (which we convert to the new binary with<br>>> reatore2) we have listed the Element geometrical date and after that the<br>>> Boundary conditions and connectivity data.<br>>> My question is whether the connectivity of the elements stated there is<br>>> actually used or it is somehow re-computed while the code runs based on<br>>> the node coordinates. I am talking specifically about the connectivity<br>>> between the elements, not the boundary conditions with the "outside world".<br>>> Best regards,<br>>> Antonios<br>>><br>>> -- <br>>> ---------------------------------------------------------------------------------------------<br>>> Antonios Monokrousos<br>>> Department of Mechanics                 email:    antonios@mech.kth.se<br>>> Royal Institute of Technology (KTH)     phone:    +46 8 790 68 76<br>>> Osquars Backe 18                        telefax:  +46 8 796 98 50<br>>> SE-100 44 Stockholm, SWEDEN<br>>> _______________________________________________<br>>> Nek5000-users mailing list <br>>> Nek5000-users@lists.mcs.anl.gov<br>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br>>><br>> _______________________________________________<br>> Nek5000-users mailing list<br>> Nek5000-users@lists.mcs.anl.gov<br>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br>> _______________________________________________<br>> Nek5000-users mailing list<br>> Nek5000-users@lists.mcs.anl.gov<br>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br><br><br>-- <br>---------------------------------------------------------------------------------------------<br>Antonios Monokrousos<br>Department of Mechanics                 email:    antonios@mech.kth.se<br>Royal Institute of Technology (KTH)     phone:    +46 8 790 68 76<br>Osquars Backe 18                        telefax:  +46 8 796 98 50<br>SE-100 44 Stockholm, SWEDEN<br>_______________________________________________<br>Nek5000-users mailing list<br>Nek5000-users@lists.mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br>_______________________________________________<br>Nek5000-users mailing list<br>Nek5000-users@lists.mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br></div></body></html>