Changeset 3361 for trunk/LMDZ.PLUTO/libf/phypluto
- Timestamp:
- Jun 10, 2024, 11:53:45 AM (6 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/callcorrk.F90
r3329 r3361 856 856 857 857 plevrad(1) = 0. 858 !plevrad(2) = 0. !! JL18 enabling this line puts the radiative top at p=0 which was the idea before, but does not seem to perform best after all.858 !!plevrad(2) = 0. !! JL18 enabling this line puts the radiative top at p=0 which was the idea before, but does not seem to perform best after all. 859 859 860 860 tlevrad(1) = tlevrad(2) -
trunk/LMDZ.PLUTO/libf/phypluto/callcorrk_pluto_mod.F90
r3353 r3361 265 265 Cmk= 0.01 * 1.0 / (g * mugaz * 1.672621e-27) ! q_main=1.0 assumed 266 266 267 epsi_ch4=mmol(igcm_ch4_gas)/mmol(igcm_n2) 267 if (methane) then 268 epsi_ch4=mmol(igcm_ch4_gas)/mmol(igcm_n2) 269 endif 268 270 269 271 ! If fixed profile of CH4 gas … … 280 282 281 283 !======================================================================= 282 283 284 ! L_NSPECTV is the number of Visual(or Solar) spectral intervals 284 285 ! how much light we get … … 653 654 ELSE ! during the night, fluxes = 0 654 655 nfluxtopv=0.0 656 fmnetv_nu(:,:)=0.0 657 nfluxtopv_nu(:)=0.0 655 658 DO l=1,L_NLAYRAD 656 659 fmnetv(l)=0.0 … … 712 715 end do 713 716 END DO 714 715 717 ! values at top of atmosphere 716 718 dpp = g/(cpp*scalep*(plevrad(3)-plevrad(1))) -
trunk/LMDZ.PLUTO/libf/phypluto/callkeys_mod.F90
r3353 r3361 83 83 logical,save :: convergeps,conservn2,condensn2,no_n2frost 84 84 !$OMP THREADPRIVATE(convergeps,conservn2,condensn2,no_n2frost) 85 logical,save :: globmean1d,kmix_proffix86 !$OMP THREADPRIVATE( globmean1d,kmix_proffix)85 logical,save :: kmix_proffix 86 !$OMP THREADPRIVATE(kmix_proffix) 87 87 logical,save :: ch4fix,vmrch4_proffix 88 88 !$OMP THREADPRIVATE(ch4fix,vmrch4_proffix) -
trunk/LMDZ.PLUTO/libf/phypluto/gfluxi.F
r3184 r3361 86 86 !----------------------------------------------------------------------- 87 87 if (W0(L).eq.1.D0) then 88 W0(L) = 0.99999D088 W0(L) = 0.99999D0 89 89 endif 90 90 -
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3356 r3361 981 981 firstcall,lastcall) 982 982 albedo_equivalent(1:ngrid)=albedo(1:ngrid,1) 983 fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid)+ & 984 fluxsurf_sw(1:ngrid)*(1.-albedo(1:ngrid,1)) 983 985 else 984 986 call callcorrk(ngrid,nlayer,pq,nq,qsurf, & … … 991 993 tau_col,cloudfrac,totcloudfrac, & 992 994 .false.,firstcall,lastcall) 995 ! Radiative flux from the sky absorbed by the surface (W.m-2). 996 GSR=0.0 997 fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid)+ & 998 fluxsurfabs_sw(1:ngrid) 993 999 endif ! oldplutocorrk 994 1000 !GG (feb2021): Option to "artificially" decrease the raditive time scale in … … 1010 1016 ! AF24: removed CLFvarying Option 1011 1017 1012 ! Radiative flux from the sky absorbed by the surface (W.m-2).1013 GSR=0.01014 fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid)+fluxsurfabs_sw(1:ngrid)1015 1018 1016 1019 !if(noradsurf)then ! no lower surface; SW flux just disappears … … 2166 2169 2167 2170 call writediagfi(ngrid,"ALB","Surface albedo"," ",2,albedo_equivalent) 2168 !call writediagfi(ngrid,"ALB_1st","First Band Surface albedo"," ",2,albedo(:,1))2171 call writediagfi(ngrid,"ALB_1st","First Band Surface albedo"," ",2,albedo(:,1)) 2169 2172 call writediagfi(ngrid,"ISR","incoming stellar rad.","W m-2",2,fluxtop_dn) 2170 2173 call writediagfi(ngrid,"ASR","absorbed stellar rad.","W m-2",2,fluxabs_sw) -
trunk/LMDZ.PLUTO/libf/phypluto/sfluxi_pluto_mod.F
r3329 r3361 14 14 use radcommon_h, only: planckir, tlimit,sigma, gweight 15 15 use comcstfi_mod, only: pi 16 use gfluxi_ mod, only: gfluxi16 use gfluxi_old_mod, only: gfluxi_old 17 17 18 18 … … 136 136 C WITHIN EACH INTERVAL AT THE MIDPOINT WAVENUMBER 137 137 138 CALL GFLUXI (NLEVRAD,TLEV,NW,DWNI(NW),DTAUI(1,NW,NG),138 CALL GFLUXI_OLD(NLEVRAD,TLEV,NW,DWNI(NW),DTAUI(1,NW,NG), 139 139 * TAUCUMI(1,NW,NG), 140 140 * WBARI(1,NW,NG),COSBI(1,NW,NG),UBARI,RSFI,BTOP, … … 193 193 194 194 195 CALL GFLUXI (NLEVRAD,TLEV,NW,DWNI(NW),DTAUI(1,NW,NG),195 CALL GFLUXI_OLD(NLEVRAD,TLEV,NW,DWNI(NW),DTAUI(1,NW,NG), 196 196 * TAUCUMI(1,NW,NG), 197 197 * WBARI(1,NW,NG),COSBI(1,NW,NG),UBARI,RSFI,BTOP, -
trunk/LMDZ.PLUTO/libf/phypluto/sfluxv_pluto_mod.F
r3329 r3361 12 12 use radinc_h, only: L_NLAYRAD, L_NLEVRAD 13 13 use radcommon_h, only: tlimit, gweight 14 use gfluxv_ mod, only: gfluxv14 use gfluxv_old_mod, only: gfluxv_old 15 15 16 16 implicit none … … 100 100 101 101 102 CALL GFLUXV (DTAUV(1,NW,NG),TAUV(1,NW,NG),TAUCUMV(1,NW,NG),102 CALL GFLUXV_OLD(DTAUV(1,NW,NG),TAUV(1,NW,NG),TAUCUMV(1,NW,NG), 103 103 * WBARV(1,NW,NG),COSBV(1,NW,NG),UBAR0,F0PI,RSFV, 104 104 * BTOP,BSURF,FMUPV,FMDV,DIFFV,FLUXUP,FLUXDN) … … 155 155 C RETURN FLUXES FOR A GIVEN NT 156 156 157 CALL GFLUXV (DTAUV(1,NW,NG),TAUV(1,NW,NG),TAUCUMV(1,NW,NG),157 CALL GFLUXV_OLD(DTAUV(1,NW,NG),TAUV(1,NW,NG),TAUCUMV(1,NW,NG), 158 158 * WBARV(1,NW,NG),COSBV(1,NW,NG),UBAR0,F0PI,RSFV, 159 159 * BTOP,BSURF,FMUPV,FMDV,DIFFV,FLUXUP,FLUXDN) -
trunk/LMDZ.PLUTO/libf/phypluto/surfprop.F90
r3329 r3361 460 460 enddo 461 461 ENDDO 462 print*, emin463 print*, tidat(1,:)464 print*, mlayer(:)465 462 466 463 ELSE
Note: See TracChangeset
for help on using the changeset viewer.