Changeset 2298 for LMDZ5/branches/testing/libf/phylmd/thermcell_plume.F90
- Timestamp:
- Jun 14, 2015, 9:13:32 PM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2238-2257,2259-2271,2273,2277-2282,2284-2288,2290-2291
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/thermcell_plume.F90
r2220 r2298 6 6 & lalim,f0,detr_star,entr_star,f_star,csc,ztva, & 7 7 & ztla,zqla,zqta,zha,zw2,w_est,ztva_est,zqsatth,lmix,lmix_bis,linter & 8 9 ! & ,lev_out,lunout1,igout,zbuoy,zbuoyjam)8 & ,lev_out,lunout1,igout) 9 ! & ,lev_out,lunout1,igout,zbuoy,zbuoyjam) 10 10 !-------------------------------------------------------------------------- 11 11 !thermcell_plume: calcule les valeurs de qt, thetal et w dans l ascendance … … 87 87 real ztv_est1,ztv_est2 88 88 real zcor,zdelta,zcvm5,qlbef 89 real zbetalpha 89 real zbetalpha, coefzlmel 90 90 real eps 91 91 REAL REPS,RLvCp,DDT0 … … 396 396 else ! if (iflag_thermals_ed.lt.8) then 397 397 lt=l+1 398 zlt=zlev(ig,lt) 398 399 zdz2=zlev(ig,lt)-zlev(ig,l) 399 400 … … 405 406 zdz3=zlev(ig,lt+1)-zlt 406 407 zltdwn=zlev(ig,lt)-zdz3/2 407 408 zbuoyjam(ig,l)=1.*RG*(((lmel+zdz3-zdz2)/zdz3)*(ztva_est(ig,l)- & 409 & ztv(ig,lt))/ztv(ig,lt)+((zdz2-lmel)/zdz3)*(ztva_est(ig,l)- & 408 zlmelup=zlmel+(zdz/2) 409 coefzlmel=Min(1.,(zlmelup-zltdwn)/zdz) 410 zbuoyjam(ig,l)=1.*RG*(coefzlmel*(ztva_est(ig,l)- & 411 & ztv(ig,lt))/ztv(ig,lt)+(1.-coefzlmel)*(ztva_est(ig,l)- & 410 412 & ztv(ig,lt-1))/ztv(ig,lt-1))+0.*zbuoy(ig,l) 411 413 endif ! if (iflag_thermals_ed.lt.8) then … … 422 424 zdw2=afact*zbuoy(ig,l)/fact_epsilon 423 425 zdw2bis=afact*zbuoy(ig,l-1)/fact_epsilon 426 ! zdw2bis=0.5*(zdw2+zdw2bis) 424 427 lm=Max(1,l-2) 425 428 ! zdw2=(afact/fact_epsilon)*((zdz/zdzbis)*zbuoy(ig,l) & … … 442 445 ! & (exp(-zw2factbis)*(w_est(ig,l-1)-zdw2bis)+zdw2)) 443 446 444 w_est(ig,l+1)=Max(0.0001,exp(-zw2fact)*(w_est(ig,l)-zdw2 bis)+zdw2)447 w_est(ig,l+1)=Max(0.0001,exp(-zw2fact)*(w_est(ig,l)-zdw2)+zdw2) 445 448 446 449 ! Nouvelle version Arnaud … … 556 559 & mix0 * 0.1 / (zalpha+0.001) & 557 560 & + zbetalpha*MAX(entr_min, & 558 & afact*zbuoyjam(ig,l)/zw2m - fact_epsilon 561 & afact*zbuoyjam(ig,l)/zw2m - fact_epsilon)) 559 562 560 563 … … 645 648 ! & (zw2(ig,l)-zdw2)+zdw2)+(zdzbis-zdz)/zdzbis* & 646 649 ! & (exp(-zw2factbis)*(zw2(ig,l-1)-zdw2bis)+zdw2)) 650 if (iflag_thermals_ed==8) then 651 zw2(ig,l+1)=Max(0.0001,exp(-zw2fact)*(zw2(ig,l)-zdw2)+zdw2) 652 else 647 653 zw2(ig,l+1)=Max(0.0001,exp(-zw2fact)*(zw2(ig,l)-zdw2bis)+zdw2) 654 endif 648 655 ! zw2(ig,l+1)=Max(0.0001,(zdz/(zdz+zdzbis))*(exp(-zw2fact)* & 649 ! & (zw2(ig,l)-zdw2 bis)+zdw2)+(zdzbis/(zdz+zdzbis))* &656 ! & (zw2(ig,l)-zdw2)+zdw2bis)+(zdzbis/(zdz+zdzbis))* & 650 657 ! & (exp(-zw2factbis)*(zw2(ig,l-1)-zdw2bis)+zdw2bis)) 651 658
Note: See TracChangeset
for help on using the changeset viewer.