Changeset 137 in lmdz_wrf
- Timestamp:
- Jul 29, 2014, 11:34:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/lmdz/calltherm.F90
r96 r137 121 121 !$OMP THREADPRIVATE(first) 122 122 !******************************************************** 123 124 ! Lluis125 INTEGER :: llp126 CHARACTER(LEN=50) :: lvarname, lfname127 REAL :: largest128 129 llp = 734130 lfname = 'physiq'131 largest = 10.e5132 123 if (first) then 133 124 itap=0 … … 143 134 Ale = 0. 144 135 145 PRINT *,' Lluis SUm(Alp): ', SUM(Alp),' SUM Ale: ',SUM(Ale)146 IF (SUM(Alp) /= 0.) STOP147 IF (SUM(Ale) /= 0.) STOP148 149 136 ! Incrementer le compteur de la physique 150 137 itap = itap + 1 … … 153 140 ! =================== 154 141 ! print*,'thermiques: WARNING on passe t au lieu de t_seri' 155 156 lfname='beginning calltherm'157 lvarname = 't_seri'158 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)159 142 160 143 ! On prend comme valeur initiale des thermiques la valeur du pas … … 194 177 enddo 195 178 if(nbptspb.GT.0) print*,'Number of points with q_seri(i,k)<=0 ',nbptspb 196 lfname='calltherm before thermcell_main'197 lvarname = 't_seri'198 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)199 lvarname = 'd_t_the'200 CALL check_var3D(lfname, lvarname, d_t_the, klon, klev, largest, .FALSE.)201 lvarname = 'Alp'202 CALL check_var(lfname, lvarname, Alp, klon, largest*10.e5, .FALSE.)203 lvarname = 'Ale'204 CALL check_var(lfname, lvarname, Ale, klon, largest*10.e5, .FALSE.)205 179 206 180 zdt=dtime/REAL(nsplit_thermals) … … 304 278 ! Ce serait bien de changer, mai en prenant le temps de vérifier que ca 305 279 ! fait bien ce qu'on croit. 306 lfname='calltherm after thermcell_main'307 lvarname = 't_seri'308 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)309 lvarname = 'd_t_the'310 CALL check_var3D(lfname, lvarname, d_t_the, klon, klev, largest, .FALSE.)311 lvarname = 'Alp'312 CALL check_var(lfname, lvarname, Alp, klon, largest*10.e5, .FALSE.)313 lvarname = 'Ale'314 CALL check_var(lfname, lvarname, Ale, klon, largest*10.e5, .FALSE.)315 316 280 flag_bidouille_stratocu=iflag_thermals<=12.or.iflag_thermals==14.or.iflag_thermals==16.or.iflag_thermals==18 317 281 … … 344 308 fm_therm(:,klev+1)=0. 345 309 346 lfname='calltherm after transforming from derivate to tendency'347 lvarname = 't_seri'348 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)349 lvarname = 'd_t_the'350 CALL check_var3D(lfname, lvarname, d_t_the, klon, klev, largest, .FALSE.)351 352 353 310 ! accumulation de la tendance 354 311 d_t_ajs(:,:)=d_t_ajs(:,:)+d_t_the(:,:) … … 364 321 q_seri(:,:) = q_seri(:,:) + d_q_the(:,:) 365 322 if (prt_level.gt.10) write(lunout,*)'Apres apres thermcell_main OK' 366 lfname='calltherm after add tendencies'367 lvarname = 't_seri'368 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)369 lvarname = 'd_t_the'370 CALL check_var3D(lfname, lvarname, d_t_the, klon, klev, largest, .FALSE.)371 lvarname = 'Alp_bl'372 CALL check_var(lfname, lvarname, Alp_bl, klon, largest, .FALSE.)373 lvarname = 'Alp'374 CALL check_var(lfname, lvarname, Alp, klon, largest*10.e5, .FALSE.)375 lvarname = 'Ale_bl'376 CALL check_var(lfname, lvarname, Ale_bl, klon, largest, .FALSE.)377 lvarname = 'Ale'378 CALL check_var(lfname, lvarname, Ale, klon, largest*10.e5, .FALSE.)379 323 380 324 DO i=1,klon … … 386 330 if(prt_level.GE.10) print*,'calltherm i Alp_bl Alp Ale_bl Ale',i,Alp_bl(i),Alp(i),Ale_bl(i),Ale(i) 387 331 ENDDO 388 lfname='calltherm after computing Al[p/e]_bl'389 lvarname = 't_seri'390 CALL check_var3D(lfname, lvarname, t_seri, klon, klev, largest, .FALSE.)391 lvarname = 'd_t_the'392 CALL check_var3D(lfname, lvarname, d_t_the, klon, klev, largest, .FALSE.)393 lvarname = 'Alp_bl'394 CALL check_var(lfname, lvarname, Alp_bl, klon, largest, .FALSE.)395 lvarname = 'Alp'396 CALL check_var(lfname, lvarname, Alp, klon, largest*10.e5, .FALSE.)397 lvarname = 'Ale_bl'398 CALL check_var(lfname, lvarname, Ale_bl, klon, largest, .FALSE.)399 lvarname = 'Ale'400 CALL check_var(lfname, lvarname, Ale, klon, largest*10.e5, .FALSE.)401 332 402 333 !IM 060508 marche pas comme cela !!! enddo ! isplit
Note: See TracChangeset
for help on using the changeset viewer.