Changeset 3421 for trunk/LMDZ.PLUTO/libf/phypluto
- Timestamp:
- Aug 26, 2024, 6:11:23 PM (16 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 2 added
- 2 edited
-
ch4surf.F (added)
-
condense_n2.F90 (modified) (6 diffs)
-
cosurf.F (added)
-
physiq_mod.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/condense_n2.F90
r3390 r3421 116 116 real zdtlatent (klon,klev) 117 117 real zdt (klon,klev) 118 REAL albediceF(klon)118 ! REAL albediceF(klon) 119 119 ! SAVE albediceF 120 120 INTEGER nsubtimestep,itsub !number of subtimestep when calling vl1d … … 130 130 REAL globzplevnew 131 131 132 REAL vmrn2(klon)133 ! SAVE vmrn2132 real,dimension(:),save,allocatable :: vmrn2 133 !$OMP THREADPRIVATE(vmrn2) 134 134 REAL stephan 135 135 DATA stephan/5.67e-08/ ! Stephan Boltzman constant … … 179 179 ENDIF 180 180 181 ALLOCATE(vmrn2(klon)) 181 182 vmrn2(:) = 1. 182 183 !IF (ch4lag) then … … 187 188 ! ENDDO 188 189 !ENDIF 189 !IF (no_n2frost) then190 !DO ig=1,klon191 !if (picen2(ig).eq.0.) then192 !vmrn2(ig) = 1.e-15193 !endif194 !ENDDO195 !ENDIF190 IF (no_n2frost) then 191 DO ig=1,klon 192 if (picen2(ig).eq.0.) then 193 vmrn2(ig) = 1.e-15 194 endif 195 ENDDO 196 ENDIF 196 197 firstcall=.false. 197 198 ENDIF … … 344 345 DO ig=1,klon 345 346 ! forecast of frost temperature ztcondsol 346 ztcondsol(ig) = tcond_n2(zplev(ig),zqn2(ig,1))347 !ztcondsol(ig) = tcond_n2(zplev(ig),vmrn2(ig))347 !ztcondsol(ig) = tcond_n2(zplev(ig),zqn2(ig,1)) 348 ztcondsol(ig) = tcond_n2(zplev(ig),vmrn2(ig)) 348 349 349 350 ! Loop over where we have condensation / sublimation … … 898 899 return 899 900 end subroutine vl1d 900 -
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3412 r3421 33 33 USE tracer_h, only: noms, mmol, radius, rho_q, qext, & 34 34 igcm_n2,igcm_ch4_gas,igcm_ch4_ice,igcm_haze,& 35 igcm_co_gas,igcm_co_ice,igcm_prec_haze,lw_n2, &35 igcm_co_gas,igcm_co_ice,igcm_prec_haze,lw_n2,lw_ch4,lw_co,& 36 36 alpha_lift, alpha_devil, qextrhor, & 37 37 nesp, is_chim, is_condensable,constants_epsi_generic … … 55 55 n2cond,nearn2cond,noseason_day,conservn2, & 56 56 convergeps,kbo,triton,paleo,paleoyears,glaflow, & 57 carbox, methane, &57 carbox, methane,condmetsurf,condcosurf,& 58 58 oldplutovdifc,oldplutocorrk,oldplutosedim, & 59 59 aerohaze,haze_proffix,source_haze, tsurfmax, & … … 1248 1248 1249 1249 ! if(.not.newtonian)then 1250 zdtsurf(1:ngrid) = zdtsurf(1:ngrid) + (fluxrad(1:ngrid) + fluxgrd(1:ngrid))/capcal(1:ngrid) 1250 zdtsurf(1:ngrid) = zdtsurf(1:ngrid) + (fluxrad(1:ngrid) + fluxgrd(1:ngrid))/capcal(1:ngrid) 1251 1252 ! ------------------------------------------------------------------ 1253 ! Methane surface sublimation and condensation in fast model (nogcm) 1254 ! ------------------------------------------------------------------ 1255 if ((methane).and.(fast).and.condmetsurf) THEN 1256 1257 call ch4surf(ngrid,nlayer,nq,ptimestep, & 1258 tsurf,zdtsurf,pplev,pdpsrf,pq,pdq,qsurf,dqsurf, & 1259 zdqch4fast,zdqsch4fast) 1260 1261 dqsurf(1:ngrid,igcm_ch4_ice)= dqsurf(1:ngrid,igcm_ch4_ice) + & 1262 zdqsch4fast(1:ngrid) 1263 pdq(1:ngrid,1,igcm_ch4_gas)= pdq(1:ngrid,1,igcm_ch4_gas) + & 1264 zdqch4fast(1:ngrid) 1265 zdtsurf(1:ngrid)=zdtsurf(1:ngrid)+lw_ch4*zdqsch4fast(1:ngrid)/capcal(1:ngrid) 1266 end if 1267 ! ------------------------------------------------------------------ 1268 ! CO surface sublimation and condensation in fast model (nogcm) 1269 ! ------------------------------------------------------------------ 1270 if ((carbox).and.(fast).and.condcosurf) THEN 1271 1272 call cosurf(ngrid,nlayer,nq,ptimestep, & 1273 tsurf,pplev,pdpsrf,pq,pdq,qsurf,dqsurf, & 1274 zdqcofast,zdqscofast) 1275 1276 dqsurf(1:ngrid,igcm_co_ice)= dqsurf(1:ngrid,igcm_co_ice) + & 1277 zdqscofast(1:ngrid) 1278 pdq(1:ngrid,1,igcm_co_gas)= pdq(1:ngrid,1,igcm_co_gas) + & 1279 zdqcofast(1:ngrid) 1280 zdtsurf(1:ngrid)=zdtsurf(1:ngrid)+lw_co*zdqscofast(1:ngrid)/capcal(1:ngrid) 1281 end if 1282 1251 1283 1252 1284 endif ! end of 'calldifv'
Note: See TracChangeset
for help on using the changeset viewer.
