Changeset 1834 for trunk/LMDZ.GENERIC/libf/phystd
- Timestamp:
- Dec 4, 2017, 6:35:57 PM (7 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/turbdiff.F90
r1477 r1834 13 13 use comcstfi_mod, only: rcp, g, r, cpp 14 14 use callkeys_mod, only: water,tracer,nosurf 15 15 #ifdef MESOSCALE 16 use turb_mod, only : ustar 17 use comm_wrf, only : comm_LATENT_HF 18 #endif 16 19 implicit none 17 20 … … 259 262 ENDDO 260 263 !we treat only winds, energy and tracers coefficients will be computed with upadted winds 261 262 264 !JL12 calculate the flux coefficients (tables multiplied elements by elements) 263 265 zfluxv(1:ngrid,1:nlay)=zkv(1:ngrid,1:nlay)*zb0(1:ngrid,1:nlay) … … 359 361 zcdh(ig) = zcdh_true(ig)*sqrt(zu2) 360 362 zkh(ig,1)= zcdh(ig) 361 ENDDO 363 ustar(ig)=sqrt(zcdv_true(ig))*sqrt(zu2) 364 ENDDO 365 362 366 363 367 ! JL12 calculate the flux coefficients (tables multiplied elements by elements) … … 719 723 720 724 if(water)then 725 #ifndef MESOSCALE 721 726 call writediagfi(ngrid,'beta','Dryness coefficient',' ',2,dryness) 727 #endif 722 728 if (tracer) then 729 #ifndef MESOSCALE 723 730 call writediagfi(ngrid,'dqevap','evaporated water vapor specific concentration','s-1',3,pdqevap) 731 #else 732 comm_LATENT_HF(:)=0.0 733 comm_LATENT_HF(1:ngrid)=RLVTT*dqsdif_total(1:ngrid)/ptimestep 734 #endif 724 735 endif 725 736 endif
Note: See TracChangeset
for help on using the changeset viewer.