Changeset 4519 for LMDZ6/trunk
- Timestamp:
- Apr 24, 2023, 6:11:11 PM (19 months ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/conf_gcm.F90
r4470 r4519 15 15 USE comconst_mod, ONLY: dissip_deltaz, dissip_factz, dissip_zref, & 16 16 iflag_top_bound, mode_top_bound, tau_top_bound, & 17 ngroup 17 ngroup, maxlatfilter 18 18 USE logic_mod, ONLY: fxyhypb, iflag_phys, ok_etat0, ok_gradsfile, & 19 19 ok_guide, ok_limit, ok_strato, purmats, read_start, & … … 310 310 CALL getin('dissip_deltaz',dissip_deltaz ) 311 311 CALL getin('dissip_zref',dissip_zref ) 312 313 ! maxlatfilter 314 maxlatfilter=-1.0 315 CALL getin('maxlatfilter',maxlatfilter) 316 if (maxlatfilter > 90) & 317 call abort_gcm("conf_gcm", 'maxlatfilter should be <=90', 1) 318 312 319 313 320 ! ngroup -
LMDZ6/trunk/libf/dyn3d_common/comconst_mod.F90
r2597 r4519 26 26 INTEGER iflag_top_bound ! sponge type 27 27 INTEGER ngroup ! parameter to group points (along longitude) near poles 28 REAL maxlatfilter ! maximum latitude (in degrees) above which filter is active 28 29 INTEGER mode_top_bound ! sponge mode 29 30 REAL tau_top_bound ! inverse of sponge characteristic time scale (Hz) -
LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90
r4469 r4519 19 19 USE comconst_mod, ONLY: dissip_deltaz, dissip_factz, dissip_zref, & 20 20 iflag_top_bound, mode_top_bound, tau_top_bound, & 21 ngroup 21 ngroup, maxlatfilter 22 22 USE logic_mod, ONLY: fxyhypb, iflag_phys, ok_etat0, ok_gradsfile, & 23 23 ok_guide, ok_limit, ok_strato, purmats, read_start, & … … 340 340 CALL getin('dissip_deltaz',dissip_deltaz ) 341 341 CALL getin('dissip_zref',dissip_zref ) 342 343 344 !maxlatfilter 345 maxlatfilter = -1.0 346 CALL getin('maxlatfilter',maxlatfilter) 347 if (maxlatfilter > 90) & 348 call abort_gcm("conf_gcm", 'maxlatfilter should be <=90', 1) 349 342 350 343 351 ! ngroup -
LMDZ6/trunk/libf/filtrez/filtreg_mod.F90
r4440 r4519 16 16 USE serre_mod, ONLY: alphax 17 17 USE logic_mod, ONLY: fxyhypb, ysinus 18 USE comconst_mod, ONLY: maxlatfilter 19 18 20 ! ... H. Upadhyaya, O.Sharma ... 19 21 ! … … 125 127 ! as length dx becomes of the same size as dy 126 128 ! 129 ! if maxlatfilter >0, prescribe the colat0 value from the .def files 130 131 IF (maxlatfilter .LT. 0.) THEN 132 127 133 colat0 = MIN( 0.5, dymin/dxmin ) 128 134 ! colat0 = 1. … … 133 139 alphax = 0. 134 140 ENDIF 141 142 ELSE 143 144 colat0=(90.0-maxlatfilter)/180.0*pi 145 146 ENDIF 147 148 149 135 150 ! 136 151 PRINT 50, colat0,alphax -
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.