<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Neks,<br><br>I followed what Fisher posted in the below link and tried to extrude a 2D flow into 3D.<br><br><span class="Apple-tab-span" style="white-space: pre; ">        </span><a href="http://lists.mcs.anl.gov/pipermail/nek5000-users/2013-October/002333.html">http://lists.mcs.anl.gov/pipermail/nek5000-users/2013-October/002333.html</a><br><br>85 c-----------------------------------------------------------------------<br>86       subroutine usrdat2<br>87       include 'SIZE'<br>88       include 'TOTAL'<br>89 <br>90 <br>91       nelx=lelx,nely=lely,nelz=lelz<br>92       parameter (l2d=lx1*ly1*lelx)<br>93       common /mystuff/ u2d(l2d),v2d(l2d)<br>94 <br>95        if (nid.eq.0) then<br>96           open(33,file='2D.dat')<br>97           do i=1,l2d<br>98              read(33,*) u2d(i),v2d(i)<br>99           enddo<br>100           close(33)<br>101        endif<br>102        nbytes = 8*l2d<br>103        call bcast(u2d,nbytes)<br>104        call bcast(v2d,nbytes)<br>105 <br>106        call z_average_transpose(vx,u2d)<br>107        call z_average_transpose(vy,v2d)<br>108 <br>109        call outpost(vx,vy,vz,pr,t,'3d.dat')<br>110        call exitti('Quit in usrdat2.$',nelgt)<br>111 <br>112       return<br>113       end<br>114 c-----------------------------------------------------------------------<br>115       subroutine usrdat3<br><br><br>when I compiling the simulation ( with a 2D.rea and new SIZE) it displays errors,<br><br><span class="Apple-tab-span" style="white-space: pre; ">  </span>nek5000/test/test3dimposed/3d/box.f:91.8:<br><span class="Apple-tab-span" style="white-space: pre; ">      </span><br>      <span class="Apple-tab-span" style="white-space: pre; ">   </span><span class="Apple-tab-span" style="white-space: pre; "> </span> nelx=lelx,nely=lely,nelz=lelz                                   <br>       <span class="Apple-tab-span" style="white-space: pre; ">     </span>1<br><span class="Apple-tab-span" style="white-space: pre; ">      </span>Error: Unclassifiable statement at (1)<br><span class="Apple-tab-span" style="white-space: pre; "> </span>make: *** [nek5000] Error 1<br><br>Is there something I misunderstand ?<br><br>Thanks! <br><br>Wei</div></body></html>