Changeset 45


Ignore:
Timestamp:
07/28/12 02:56:28 (12 years ago)
Author:
dubos
Message:

Introduced run_length
Increased time step in run.def for test case 3 (gravity wave)

Location:
codes/icosagcm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/param_sets/dcmip2012/test3/run.def

    r42 r45  
    3333 
    3434# timestep : real (default=90s) 
    35 dt = 45. 
     35dt = 90. 
    3636 
    3737# number of timestep (default 100) 
    38 itaumax = 10000 
     38# itaumax = 10000 
     39 
     40# run length : real (default=dt*itaumax) 
     41run_length=450000 
    3942 
    4043# output field period : integer (default none) 
  • codes/icosagcm/trunk/src/timeloop_gcm.f90

    r32 r45  
    3333  REAL(rstd),POINTER :: du(:,:), dum1(:,:), dum2(:,:) 
    3434  REAL(rstd),POINTER :: dtheta_rhodz(:,:),dtheta_rhodzm1(:,:),dtheta_rhodzm2(:,:) 
    35   REAL(rstd) :: dt 
     35  REAL(rstd) :: dt, run_length 
    3636  INTEGER :: ind 
    3737  INTEGER :: it,i,j,n 
     
    4444  dt=90. 
    4545  CALL getin('dt',dt) 
    46   dt=dt/scale_factor 
    4746   
    4847  itaumax=100 
    4948  CALL getin('itaumax',itaumax) 
     49 
     50  run_length=dt*itaumax 
     51  CALL getin('run_length',run_length) 
     52  itaumax=run_length/dt 
     53  PRINT *,'itaumax=',itaumax 
     54  dt=dt/scale_factor 
    5055 
    5156  write_period=0 
     
    101106   
    102107  DO it=0,itaumax 
    103     PRINT *,"It No :",It 
     108    PRINT *,"It No :",It,"   t :",dt*It 
    104109 
    105110    CALL guided(it*dt,f_ps,f_theta_rhodz,f_u,f_q) 
Note: See TracChangeset for help on using the changeset viewer.