Changeset 496 for trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
- Timestamp:
- Jan 11, 2012, 2:21:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
r356 r496 111 111 REAL zdz,zbuoy(ngridmx,nlayermx),zw2m 112 112 LOGICAL active(ngridmx),activetmp(ngridmx) 113 REAL a1,b1,ae,be,ad,bd 113 REAL a1,b1,ae,be,ad,bd,fdfu 114 114 INTEGER tic 115 115 … … 304 304 linter(:)=1. 305 305 306 ! -------------------------------------------------------------------------- 307 ! -------------- MAIN PARAMETERS FOR THERMALS MODEL ------------------------ 308 ! -------------- see thermiques.pro and getfit.py ------------------------- 309 306 310 ! a1=2.5 ; b1=0.0015 ; ae=0.045 ; be = 0.6 ! svn baseline 307 311 308 a1=1.60226 ; b1=0.0006 ; ae=0.0454 ; be = 0.57 !improved fits 309 ad = 0.0005114 ; bd = -0.662 312 ! Using broad downdraft selection 313 ! a1=1.60226 ; b1=0.0006 ; ae=0.0454 ; be = 0.57 314 ! ad = 0.0005114 ; bd = -0.662 315 ! fdfu = -1.9 316 317 ! Using conditional sampling downdraft selection 318 a1=1.4716 ; b1=0.0005698 ; ae=0.03683 ; be = 0.57421 319 ad = 0.00048088 ; bd = -0.6697 320 fdfu = -1.3 321 322 ! -------------------------------------------------------------------------- 323 ! -------------------------------------------------------------------------- 324 ! -------------------------------------------------------------------------- 310 325 311 326 ! Initialisation des variables entieres … … 513 528 !--------------------------------------------------------------------------- 514 529 515 DO tic=0, 6! internal convergence loop530 DO tic=0,1 ! internal convergence loop 516 531 activetmp(:)=active(:) .and. f_star(:,l+1)>1.e-10 517 532 do ig=1,ngridmx … … 640 655 ! ================= FIN PLUME =============================================== 641 656 ! =========================================================================== 642 643 657 644 658 ! =========================================================================== … … 1089 1103 do l=1,lmax(ig) 1090 1104 if(zlay(ig,l) .le. 0.7*zmax(ig)) then 1091 fm_down(ig,l) =-1.9*fm(ig,l) 1105 fm_down(ig,l) =fm(ig,l)* & 1106 & max(fdfu,-3*max(0.,(zlay(ig,l)/zmax(ig)))-0.9) 1092 1107 endif 1093 1108 … … 1102 1117 endif 1103 1118 1104 ! if(zlay(ig,l) .le. 0.06*zmax(ig)) then1105 ! ztvd(ig,l)=ztv(ig,l)*max(0.,(zlay(ig,l)/zmax(ig))/19.231 + 0.9938)1106 ! elseif(zlay(ig,l) .le. 0.6*zmax(ig)) then1107 ! ztvd(ig,l)=ztv(ig,l)*max(0.,(zlay(ig,l)/zmax(ig)-0.075)/187.931 + 0.9982)1108 ! else1109 !! elseif(zlay(ig,l) .le. 0.7*zmax(ig)) then1110 ! ztvd(ig,l)=ztv(ig,l)*max(0.,(zlay(ig,l)/zmax(ig) -0.60)/(-1333) + 1.00025)1111 !! else1112 !! ztvd(ig,l)=ztv(ig,l)1113 ! endif1114 1119 1115 1120 enddo … … 1126 1131 if(lmax(ig) .gt. 1) then 1127 1132 ! No downdraft in the very-near surface layer, we begin at k=3 1128 do k=2,lmax(ig) 1133 1134 do k=3,lmax(ig) 1129 1135 zdthladj_down(ig,k)=(1./masse(ig,k))*(fm_down(ig,k+1)*ztv(ig,k+1)- & 1130 1136 & fm_down(ig,k)*ztv(ig,k)+fm_down(ig,k)*ztvd(ig,k)-fm_down(ig,k+1)*ztvd(ig,k+1)) … … 1332 1338 do ig=1,ngridmx 1333 1339 pdtadj(ig,l)=(zdthladj(ig,l)+zdthladj_down(ig,l))*zpopsk(ig,l) 1340 ! pdtadj(ig,l)=zdthladj(ig,l)*zpopsk(ig,l) 1334 1341 enddo 1335 1342 enddo
Note: See TracChangeset
for help on using the changeset viewer.