<div>Hi nek's<br>I'm trying to perform a DNS of a turbulent channel flow ussing the tutorial "turbChannel.f".<br>I have some troubles about the subroutine "planar_average_s", in particular when I generate a mesh using genbox in a single box, it works very well, such that the vector "yy" goes from -1 to 1.<br>On the contrary when i split the box in genbox in two boxes, "yy" goes from -0.5 to 0.5 and it is repeated two rimes (-0.5, ... 0.5, -0.5, ..., 0.5), of course the averages have no sense.<br>Could someone help me?<br>Thanks<br><br>---------------------------------------------------------------------------------------------------------<br><br>Box 1                                                                    <br>-48  16  -48                                                                                                                       nelx,nely,nelz for Box<br>0.0 6.28 1.                                                                                                                        x0,x1,gain<br>-1. -.999 -.998 -.995 -.988 -.974 -.943 -.877 -.780 -.682 -.584 -.487 -.389 -.292 -.194 -.096 0.0<br>0.0 3.14 1.                                                                                                                        z0,z1,gain<br>P  ,P  ,W  ,E  ,P  ,P                                                                                                           bc's  (3 chars each!)<br>Box 2                                                                    <br>-48  16  -48                                                                                                                       nelx,nely,nelz for Box<br>0.0 6.28 1.                                                                                                                        x0,x1,gain<br>0.0 .096 .194 .292 .389 .487 .584 .682 .780 .877 .943 .974 .988 .995 .998 .999 1.<br>0.0 3.14 1.                                                                                                                        z0,z1,gain<br>P  ,P  ,E  ,W  ,P  ,P                                                                                                           bc's  (3 chars each!)<br><br>----------------------------------------------------------------------------------------------------------<br><br>-- <br abp="3089"><font abp="3090" size="2"><span style="font-family: arial,sans-serif;" abp="3091"><br abp="3092"></span></font><div class="gmail_signature" style="text-align: left;" abp="3093"><div dir="ltr" abp="3094"><font abp="3095" size="2"><span style="font-family: arial,sans-serif;" abp="3096">Mr. Mirko Farano<br abp="3097"><br abp="3098">Ph.D. student at Politecnico di Bari<br abp="3099"></span></font><font abp="3101" size="2"><span style="font-family: arial,sans-serif;" abp="3102">Tel.: +39-0883529289 / +39-0805963462<br abp="3103"></span></font><font abp="3105" size="2"><span style="font-family: arial,sans-serif;" abp="3106">Mob.: +39-3202342719<font abp="3107"><span style="line-height: 16px;" abp="3108"><br abp="3109">Department of Mechanics Mathematics and Management</span> -</font> <br abp="3110">Fluid Machinery and Energy Systems<br abp="3111">Via Re David, 200 - 70125 Bari (Italy)<br abp="3112"></span></font><font abp="3113" size="2"><span style="font-family: arial,sans-serif;" abp="3114"><font abp="3115" size="2"><span style="font-family: arial,sans-serif;" abp="3116"><a href="mailto:mirko.farano@poliba.it" abp="3117"><font abp="3118" color="#05447e">mirko.farano@poliba.it</font></a></span></font><br abp="3119"><br abp="3120">In joint supervision with the<br abp="3121">Ecole Nationale Supérieure d'Arts et Métiers de Paris - Paristech<br abp="3122">Tel.: +33-144246436<br abp="3123">Mob.: +33-789822134<br abp="3124">Dynfluid Laboratory<br abp="3125"><span class="_Xbe" abp="3126">151 Boulevard de l'Hôpital - 75013 Paris (Franc</span>e)<br abp="3127"><a href="mailto:mirko.farano@ensam.eu" abp="3128"><font abp="3129" color="#05447e"><font abp="3130" face="Arial,Helvetica">mirko.farano@ensam.eu</font></font></a><br abp="3131"></span></font></div></div></div><br>