<div dir="ltr">Hi Paul,<div><br></div><div>It is looks like that the n2to3 not generate the 3D  mesh with periodic boundary conditions correctly by rotating.  First I tried to generate a 3D mesh, then after applied genmap it appears the similar error. </div><div><br></div><div>Following the discussions some years ago, it seems I need to update the genmap.f,  Have you update the new version, or Would you like to post the genmap.f again?</div><div>thanks!</div><div><br></div><div>Wei</div><div><br></div><div><p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">n2to3 </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:22px"><br></p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> This is the code that establishes proper</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> element connectivities, as of Oct., 2006.</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:22px"><br></p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> Input old (source) file name:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">box</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> Input new (output) file name:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">boxss</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> For ASCII output only: 0; For .rea/.re2: 1</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">0</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> input number of levels: (1, 2, 3,...; < 0 for circular sweep.):</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">-20</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> input z min:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">0</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> input z max:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">90</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> input gain (0=custom,1=uniform,other=geometric spacing):</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">1</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> This is for CEM: yes or no:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">no</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> Enter Z(5) FLUID boundary condition (P,v,O,ect):</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">P</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> this is FLUID cbz: P  P   <--- </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> F F           0           1  ifheat,ifmhd</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:22px"><br></p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">         360 elements written to boxss.rea</p></div><div><br></div><div><br></div><div><p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">genmap </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">Input (.rea) file name:</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">boxss</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">Input mesh tolerance (default 0.2):</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">NOTE: smaller is better, but generous is more forgiving for bad meshes.</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">0.1</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> reading .rea file data ...</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> start locglob_lexico:           8         360        2880  0.10000000000000001     </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           1           1        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           2          59        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           3          84        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           1         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           2         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           3         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           1         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           2         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> locglob:           3         588        2880</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> done locglob_lexico:         588         588        2880           8</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"> start periodic vtx:         360         588</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">     1     4     4  Matrix:    x0  </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  1   x0    1.2084E-06  1.2084E-06  1.6729E-06  1.6729E-06</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  2   x0   -1.2362E-03 -1.2362E-03  1.2363E-03  1.2363E-03</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  3   x0   -0.0000E+00 -0.0000E+00 -0.0000E+00 -0.0000E+00</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  4   x0   -2.6465E-03  2.6465E-03  2.6465E-03 -2.6465E-03</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">   343     4     4  Matrix:    x1  </p></div><div><p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">1   x1    1.2084E-06  1.6729E-06  1.6729E-06  1.2084E-06</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  2   x1    5.4038E-11 -5.4038E-11 -5.4038E-11  5.4038E-11</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  3   x1    1.2362E-03 -1.2363E-03 -1.2363E-03  1.2362E-03</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  4   x1   -2.6465E-03 -2.6465E-03  2.6465E-03  2.6465E-03</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">     1     4     4  Matrix:    z0  </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  1   z0    1.2084E-06  1.2084E-06  1.6729E-06  1.6729E-06</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  2   z0    1.4000E-02  1.4000E-02  1.6473E-02  1.6473E-02</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  3   z0   -0.0000E+00 -0.0000E+00 -0.0000E+00 -0.0000E+00</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  4   z0   -1.1000E-01 -1.0471E-01 -1.0471E-01 -1.1000E-01</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">   343     4     4  Matrix:    z1  </p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  1   z1    1.2084E-06  1.6729E-06  1.6729E-06  1.2084E-06</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  2   z1   -6.1196E-10 -7.2004E-10 -7.2004E-10 -6.1196E-10</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  3   z1   -1.4000E-02 -1.6473E-02 -1.6473E-02 -1.4000E-02</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">  4   z1   -1.1000E-01 -1.1000E-01 -1.0471E-01 -1.0471E-01</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">           1 5  3  1.00000000E-03  1.10000000E-01 abort: FACE MATCH FAIL</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">         343 6  5  1.10000000E-04  3.49664311E-03 abort: FACE MATCH FAIL</p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0);min-height:22px"><br></p>
<p style="margin:0px;font-size:20px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">           0  quit</p></div><div><br></div><div><br></div><div><br></div><div>====================================================<br><div class="gmail_extra"><div class="gmail_signature"><div dir="ltr"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hi, 

Yes, got it now. I don't know why it wasn't working either. I use the same thing to compress files, either way it's good now. Thanks Paul. 

- Michael 

----- Original Message ----- 
From: <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">nek5000-users at lists.mcs.anl.gov</a> 
To: <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">nek5000-users at lists.mcs.anl.gov</a> 
Sent: Tuesday, June 22, 2010 10:40:57 AM GMT -06:00 Guadalajara / Mexico City / Monterrey 
Subject: Re: [Nek5000-users] Periodic BC & Genmap issue 



Hi Michael, 

not sure why gunzip didn't work - it worked here... but I've 
put the unzipped version in: 

<a href="http://www.mcs.anl.gov/~fischer/genmap.f">www.mcs.anl.gov/~fischer/genmap.f</a> 

Let me know if that works for you. 

Cheers, 

Paul 
</pre></div><div><br></div></div></div>
</div></div></div>