Changeset 2944 for trunk/LMDZ.COMMON/libf/evolution/co2glaciers_mod.F90
- Timestamp:
- Apr 18, 2023, 10:41:16 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/co2glaciers_mod.F90
r2918 r2944 64 64 65 65 USE comconst_mod, ONLY: pi 66 use comcstfi_h, only: g 66 67 67 68 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 87 88 REAL,INTENT(OUT) :: hmax(ngrid,nslope) ! Physical grid x Slope field: maximum co2 thickness before flaw [m] 88 89 ! Local 89 REAL, PARAMETER :: g = 3.71 ! surface gravity [m/s^2]90 90 INTEGER,PARAMETER :: n = 7 ! flow law exponent Nye et al., 2000 91 91 REAL,PARAMETER :: Rg = 8.3145 ! gas constant [J/K/mol] … … 226 226 !!! 227 227 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 228 implicit none 228 229 use constants_marspem_mod,only : alpha_clap_co2,beta_clap_co2 230 231 implicit none 232 229 233 ! arguments: 230 234 ! ---------- … … 243 247 INTEGER :: ig,it ! for loop 244 248 REAL :: ave ! intermediate to compute average 245 REAL :: alpha_clap, beta_clap ! Clapeyron law for CO2246 alpha_clap = 23.3494 ! James et al. 1992247 beta_clap = 3182.48 ! James et al. 1992248 249 249 250 !!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 253 254 ave = 0 254 255 DO it = 1,timelen 255 ave = ave + beta_clap /(alpha_clap-log(vmr_co2_PEM(ig,it)*ps_GCM(ig,it)*global_ave_ps_GCM/global_ave_ps_PEM/100))256 ave = ave + beta_clap_co2/(alpha_clap_co2-log(vmr_co2_PEM(ig,it)*ps_GCM(ig,it)*global_ave_ps_GCM/global_ave_ps_PEM/100)) 256 257 ENDDO 257 258 Tcond(ig) = ave/timelen
Note: See TracChangeset
for help on using the changeset viewer.