clear clear path global Nx Ny Nz global lat long dz dm mdep global delt_su su_its t_su delt global descriptor this_path global f deltaf Q beta r_expt r_heat H global time rots it global g Cp rho_bar alpha global u v t w global iterations param_file_name = ... input(' Please enter the name of the m-file with the parameters for this run : ','s') ; feval(param_file_name) ; path = this_path cmdstr=['cd ' path ]; eval(cmdstr); path=pwd % create circular sampling rings sizeit=size(iterations); theta20=zeros(sizeit(1),1); figure;hold on for i=2:sizeit(1)-1 tfilename=(['T.' iterations((i),1:10) ]); t=rdmds(tfilename,'b'); sum=0. for ii=1:Nx, for jj=1:Ny, kk=find(t(ii,jj,:)>21); iii=size(kk); sum=sum+iii(1); end end sum; no(i)=sum; time(i)=eval(iterations(i,1:10)); plot(time(i),no(i),'.');drawnow end title(descriptor) xlabel('timestep') ylabel('No of gridpoints in a warm pool') grid %save centralt centralt %save iterations iterations %save tcol tcol %save tincol tincol %save mdep mdep %save working tcol tincol mdep computertime