<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><style style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style><style style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style><div>Thank you very much Paul. I will give a try tomorrow and let you know.</div><div><br data-mce-bogus="1"></div><div>thanks</div><div>Sijo</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>À: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>Envoyé: </b>Mercredi 13 Juin 2018 22:33:13<br><b>Objet: </b>Re: [Nek5000-users] Periodic-AUTO using pretex problem<br></div><br><div data-marker="__QUOTED_TEXT__">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Dear Sijo,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Attached is a code n3to2.f --- written 10 years ago and not tested since. You can</p>
<p style="margin-top:0;margin-bottom:0">try this; or you can just write a script to </p>
<p style="margin-top:0;margin-bottom:0">extract the xy coordinates and requisite</p>
<p style="margin-top:0;margin-bottom:0">bcs from your 3D .rea file.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">No guarantees on the attached, but it's</p>
<p style="margin-top:0;margin-bottom:0">intent is to take a single-slice 3D Rea file</p>
<p style="margin-top:0;margin-bottom:0">and convert it to 2D.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Assumption is that your elements are </p>
<p style="margin-top:0;margin-bottom:0">aligned such that the "t" direction in the</p>
<p style="margin-top:0;margin-bottom:0">unit cube is aligned with z in physical space.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Paul</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="divRplyFwdMsg" dir="ltr"><span face="Calibri, sans-serif" data-mce-style="font-size: 11pt; color: #000000; font-family: Calibri, sans-serif;" style="font-size: 11pt; color: #000000; font-family: Calibri, sans-serif;" color="#000000"><b>From:</b> Nek5000-users <nek5000-users-bounces@lists.mcs.anl.gov> on behalf of nek5000-users@lists.mcs.anl.gov <nek5000-users@lists.mcs.anl.gov><br>
<b>Sent:</b> Wednesday, June 13, 2018 3:22:47 PM<br>
<b>To:</b> nek5000-users<br>
<b>Subject:</b> Re: [Nek5000-users] Periodic-AUTO using pretex problem</span>
<div> </div>
</div>
<div>
<div style="font-family:arial,helvetica,sans-serif; font-size:12pt; color:#000000">
<div>Thanks Paul.</div>
<div>Can I convert a 2D mesh with a small thickness in Z direction (3D ) using n2to3?</div>
<div><br>
</div>
<div>The thing is, I use ICEM for meshing and converting it into .msh format. Then I use mshconvert.py for the conversion to NEK5000.</div>
<div><br>
</div>
<div>So for the mshconvert.py I make a small thickness on the mesh to make HEXA8 mesh.</div>
<div><br>
</div>
<div>Or do you have any solution for this too?</div>
<div><br>
</div>
<div>Thank in advance</div>
<div>Sijo</div>
<div><br>
</div>
<hr id="x_zwchr">
<div><b>De: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br>
<b>À: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br>
<b>Envoyé: </b>Mercredi 13 Juin 2018 21:17:27<br>
<b>Objet: </b>Re: [Nek5000-users] Periodic-AUTO using pretex problem<br>
</div>
<br>
<div>
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Dear Sijo,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I would recommend using n2to3 to extrude</p>
<p style="margin-top:0; margin-bottom:0">the 2D geometry</p>
<p style="margin-top:0; margin-bottom:0">and then periodicity will be built in.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Paul</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><span style="font-size:11pt; color:#000000; font-family:Calibri,sans-serif"><b>From:</b> Nek5000-users <nek5000-users-bounces@lists.mcs.anl.gov> on behalf of nek5000-users@lists.mcs.anl.gov
<nek5000-users@lists.mcs.anl.gov><br>
<b>Sent:</b> Wednesday, June 13, 2018 11:54:13 AM<br>
<b>To:</b> nek5000-users<br>
<b>Subject:</b> [Nek5000-users] Periodic-AUTO using pretex problem</span>
<div> </div>
</div>
<div>
<div style="font-family:arial,helvetica,sans-serif; font-size:12pt; color:#000000">
<div>Hello Neks,<br>
</div>
<div><br>
</div>
<div>I was setting up a mesh of NACA foil in 3D with periodic BC on both sides. Since there was some problem with converting BC's from ICEM to NEK5000. I gave a space as BC and then using prex I fill up the empy spaces by using periodic Auto button.</div>
<div><br>
</div>
<div>But its running for a long time. It means its running through the same elements again and again.<br>
</div>
<div><br>
</div>
<div>I tired on a simple case (example a cube). it worked well.<br>
</div>
<div><br>
</div>
<div>The difference between the NACA case and cube is that, along the spanwise direction of NACA I did not give any elements (i just give a thickness to the mesh) but for the cube there were 2 elements in Z direction.<br>
</div>
<div><br>
</div>
<div>So could you please tell me how can I solve this problem?<br>
</div>
<div><br>
</div>
<div>Thanks in advance<br>
</div>
<div><br>
</div>
<div>Sijo GEORGE<br>
</div>
</div>
</div>
<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>
</div>
</div>
<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></div></body></html>