Changeset 3984 for trunk/LMDZ.COMMON
- Timestamp:
- Dec 8, 2025, 11:36:38 AM (6 days ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 2 added
- 3 edited
-
changelog.txt (modified) (1 diff)
-
metamorphism.F90 (added)
-
pem.F90 (modified) (4 diffs)
-
pemetat0.F90 (modified) (3 diffs)
-
tracers.F90 (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3983 r3984 817 817 - Addition of a module "metamorphism" to compute the PCM frost at the PEM beginning and give it back to the PCM at the PEM end. The frost is considered as the ice given by the PCM "startfi.nc" which is above the yearly minimum. Thereby, metamorphism is performed through this operation. 818 818 - Ice reservoirs representation in the PEM is modernized. 819 820 == 08/12/2025 == JBC 821 Addition of a module "tracers" to retain properties of atmospheric tracers. -
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r3983 r3984 82 82 use dimradmars_mod, only: totcloudfrac, albedo 83 83 use dust_param_mod, only: tauscaling 84 use tracer_mod, only: noms , mmol, igcm_h2o_vap ! Tracer names and molar masses84 use tracer_mod, only: noms ! Tracer names 85 85 use mod_phys_lmdz_para, only: is_parallel, is_sequential, is_mpi_root, is_omp_root, is_master 86 86 use planete_h, only: year_day … … 88 88 use comcstfi_h, only: mugaz 89 89 use metamorphism, only: ini_frost_id, set_frost4PCM, iPCM_h2ofrost, iPCM_co2frost 90 use tracers, only: mmol 90 91 91 92 #ifndef CPP_1D … … 416 417 call surfini(ngrid,nslope,qsurf) 417 418 call ini_frost_id(nqtot,noms) 418 do nnq = 1,nqtot 419 if (noms(nnq) == "h2o_vap") then 420 igcm_h2o_vap = nnq 421 mmol(igcm_h2o_vap) = 18. 422 endif 423 enddo 419 call ini_tracers_id(nqtot,noms) 424 420 425 421 !------------------------ … … 767 763 tsoil_PEM_timeseries(ig,isoil,islope,t) = tsoil_PEM_timeseries(ig,isoil,islope,t)*tsoil_PEM(ig,isoil,islope)/tsoil_avg_old(ig,isoil) 768 764 ! Update of watersoil density 769 watersoil_density_PEM_timeseries(ig,isoil,islope,t) = exp(beta_clap_h2o/tsoil_PEM_timeseries(ig,isoil,islope,t) + alpha_clap_h2o)/tsoil_PEM_timeseries(ig,isoil,islope,t)*mmol (igcm_h2o_vap)/(mugaz*r)765 watersoil_density_PEM_timeseries(ig,isoil,islope,t) = exp(beta_clap_h2o/tsoil_PEM_timeseries(ig,isoil,islope,t) + alpha_clap_h2o)/tsoil_PEM_timeseries(ig,isoil,islope,t)*mmol%h2o/(mugaz*r) 770 766 if (isnan(tsoil_PEM(ig,isoil,islope))) call abort_pem("PEM - Update Tsoil","NaN detected in tsoil_PEM",1) 771 767 enddo -
trunk/LMDZ.COMMON/libf/evolution/pemetat0.F90
r3983 r3984 18 18 use constants_marspem_mod, only: alpha_clap_h2o, beta_clap_h2o, TI_breccia, TI_bedrock 19 19 use soil_thermalproperties_mod, only: update_soil_thermalproperties 20 use tracer_mod, only: mmol, igcm_h2o_vap ! tracer names and molar masses21 20 use abort_pem_mod, only: abort_pem 22 21 use compute_soiltemp_mod, only: ini_tsoil_pem, compute_tsoil_pem … … 27 26 use surfdat_h, only: watercaptag, perennial_co2ice, qsurf 28 27 use metamorphism, only: frost4PCM, iPCM_h2ofrost, iPCM_co2frost 28 use tracers, only: mmol 29 29 30 30 implicit none … … 469 469 470 470 ! First raw initialization 471 watersoil_avg(:,nsoil_PCM + 1:nsoil_PEM,islope) = exp(beta_clap_h2o/tsoil_PEM(:,nsoil_PCM + 1:nsoil_PEM,islope) + alpha_clap_h2o)/tsoil_PEM(:,nsoil_PCM + 1:nsoil_PEM,islope)*mmol (igcm_h2o_vap)/(mugaz*r)471 watersoil_avg(:,nsoil_PCM + 1:nsoil_PEM,islope) = exp(beta_clap_h2o/tsoil_PEM(:,nsoil_PCM + 1:nsoil_PEM,islope) + alpha_clap_h2o)/tsoil_PEM(:,nsoil_PCM + 1:nsoil_PEM,islope)*mmol%h2o/(mugaz*r) 472 472 enddo !islope 473 473 write(*,*) 'PEMETAT0: TSOIL done'
Note: See TracChangeset
for help on using the changeset viewer.
