Changeset 4519 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Apr 24, 2023, 6:11:11 PM (19 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/calcratqs.F90
r4009 r4519 7 7 qtc_cv, sigt_cv, zqsat, & 8 8 tke,tke_dissip,lmix,wprime, & 9 t2m,q2m,fm_therm, 9 t2m,q2m,fm_therm,cell_area,& 10 10 ratqs,ratqsc,ratqs_inter) 11 11 … … 37 37 real, dimension(klon,klev),intent(in) :: wake_deltaq,wake_s 38 38 real, dimension(klon,nbsrf),intent(in) :: t2m,q2m 39 real, dimension(klon), intent(in) :: cell_area 39 40 ! Output 40 41 real, dimension(klon,klev),intent(inout) :: ratqs,ratqsc,ratqs_inter … … 47 48 real facteur,zfratqs1,zfratqs2 48 49 real, dimension(klon,klev) :: ratqs_hetero,ratqs_oro,ratqs_tke 49 50 real resol,resolmax,fact 50 51 51 52 !------------------------------------------------------------------------- … … 142 143 *( tanh( (ratqsp0-pplay(:,k))/ratqsdp) + 1.) 143 144 enddo 145 146 147 else if (iflag_ratqs==5) then 148 ! Dependency of ratqs on model resolution 149 ! Audran, Meryl, Lea, Gwendal and Etienne 150 ! April 2023 151 resolmax=sqrt(maxval(cell_area)) 152 do k=1,klev 153 do i=1,klon 154 resol=sqrt(cell_area(i)) 155 fact=sqrt(resol/resolmax) 156 ratqss(i,k)=ratqsbas*fact+0.5*(ratqshaut-ratqsbas)*fact & 157 *( tanh( (ratqsp0-pplay(i,k))/ratqsdp) + 1.) 158 enddo 159 enddo 160 144 161 145 162 else if (iflag_ratqs .GT. 9) then -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4516 r4519 3624 3624 ptconv,ptconvth,clwcon0th, rnebcon0th, & 3625 3625 paprs,pplay,t_seri,q_seri, qtc_cv, sigt_cv, zqsat, & 3626 pbl_tke(:,:,is_ave),tke_dissip_ave,l_mix_ave,wprime_ave,t2m,q2m,fm_therm, &3626 pbl_tke(:,:,is_ave),tke_dissip_ave,l_mix_ave,wprime_ave,t2m,q2m,fm_therm,cell_area, & 3627 3627 ratqs,ratqsc,ratqs_inter) 3628 3628
Note: See TracChangeset
for help on using the changeset viewer.