Changeset 2056 for LMDZ5/branches/testing/libf/phylmd/thermcell_main.F90
- Timestamp:
- Jun 11, 2014, 3:46:46 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1998,2000-2023,2025-2029,2032,2034,2036-2049,2051-2055
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/thermcell_main.F90
r1999 r2056 513 513 & lalim,lmin,zmax_sec,wmax_sec,lev_out) 514 514 515 515 516 call test_ltherm(ngrid,nlay,pplev,pplay,lmin,seuil,ztv,po,ztva,zqla,f_star,zw2,'thermcell_dry lmin ') 516 517 call test_ltherm(ngrid,nlay,pplev,pplay,lalim,seuil,ztv,po,ztva,zqla,f_star,zw2,'thermcell_dry lalim ') … … 533 534 alim_star_clos(:,:)=alim_star(:,:) 534 535 alim_star_clos(:,:)=entr_star(:,:)+alim_star(:,:) 535 536 ! Appel avec la version seche 536 ! 537 !CR Appel de la fermeture seche 538 if (iflag_thermals_closure.eq.1) then 539 537 540 CALL thermcell_closure(ngrid,nlay,r_aspect_thermals,ptimestep,rho, & 538 541 & zlev,lalim,alim_star_clos,f_star,zmax_sec,wmax_sec,f,lev_out) … … 541 544 ! Appel avec les zmax et wmax tenant compte de la condensation 542 545 ! Semble moins bien marcher 543 ! CALL thermcell_closure(ngrid,nlay,r_aspect_thermals,ptimestep,rho, & 544 ! & zlev,lalim,alim_star,f_star,zmax,wmax,f,lev_out) 546 else if (iflag_thermals_closure.eq.2) then 547 548 CALL thermcell_closure(ngrid,nlay,r_aspect_thermals,ptimestep,rho, & 549 & zlev,lalim,alim_star,f_star,zmax,wmax,f,lev_out) 550 551 endif 552 545 553 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 546 554 … … 754 762 do ig=1,ngrid 755 763 if (ok_lcl(ig)) then 756 if ((pplay(ig,l) .ge. pcon(ig)) .and. (pplay(ig,l+1) .le. pcon(ig))) then 764 !ATTENTION,zw2 calcule en pplev 765 ! if ((pplay(ig,l) .ge. pcon(ig)) .and. (pplay(ig,l+1) .le. pcon(ig))) then 766 ! klcl(ig)=l 767 ! interp(ig)=(pcon(ig)-pplay(ig,klcl(ig)))/(pplay(ig,klcl(ig)+1)-pplay(ig,klcl(ig))) 768 ! endif 769 if ((pplev(ig,l) .ge. pcon(ig)) .and. (pplev(ig,l+1) .le. pcon(ig))) then 757 770 klcl(ig)=l 758 interp(ig)=(pcon(ig)-ppl ay(ig,klcl(ig)))/(pplay(ig,klcl(ig)+1)-pplay(ig,klcl(ig)))771 interp(ig)=(pcon(ig)-pplev(ig,klcl(ig)))/(pplev(ig,klcl(ig)+1)-pplev(ig,klcl(ig))) 759 772 endif 760 773 endif … … 772 785 !! enddo 773 786 do ig =1,ngrid 774 zmax(ig)=pphi(ig,lmax(ig))/rg 787 !CR:REHABILITATION ZMAX CONTINU 788 ! zmax(ig)=pphi(ig,lmax(ig))/rg 775 789 if (ok_lcl(ig)) then 776 790 rhobarz0(ig)=rhobarz(ig,klcl(ig))+(rhobarz(ig,klcl(ig)+1) & … … 915 929 !------------Closure------------------ 916 930 917 IF (iflag_clos_bl.ge. 1) THEN931 IF (iflag_clos_bl.ge.2) THEN 918 932 919 933 !-----Calcul de ALP_BL_STAT … … 938 952 enddo 939 953 940 ENDIF ! (iflag_clos_bl.ge. 1)954 ENDIF ! (iflag_clos_bl.ge.2) 941 955 942 956 !!! fin nrlmd le 10/04/2012
Note: See TracChangeset
for help on using the changeset viewer.