Changeset 3619 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Feb 11, 2025, 4:42:38 PM (8 days ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/paleoclimate_mod.F90
r3582 r3619 16 16 real, allocatable, dimension(:,:) :: h2o_ice_depth ! Thickness of the lag before H2O ice [m] 17 17 real, allocatable, dimension(:,:) :: lag_co2_ice ! Thickness of the lag before CO2 ice [m] 18 real, allocatable, dimension(:,:) :: zdqsdif_ssi_tot ! Total flux of the interactions with SSI (kg/m^2/s^-1) 18 19 real, allocatable, dimension(:,:) :: d_coef ! Diffusion coefficent 19 20 logical :: lag_layer ! Does lag layer is present? … … 34 35 allocate(h2o_ice_depth(ngrid,nslope)) 35 36 allocate(lag_co2_ice(ngrid,nslope)) 37 allocate(zdqsdif_ssi_tot(ngrid,nslope)) 36 38 allocate(d_coef(ngrid,nslope)) 37 39 … … 45 47 if (allocated(d_coef)) deallocate(d_coef) 46 48 if (allocated(h2o_ice_depth)) deallocate(h2o_ice_depth) 49 if (allocated(zdqsdif_ssi_tot)) deallocate(zdqsdif_ssi_tot) 47 50 if (allocated(lag_co2_ice)) deallocate(lag_co2_ice) 48 51 -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r3393 r3619 31 31 use comsoil_h, only: flux_geo 32 32 use comslope_mod, only: nslope, major_slope 33 use paleoclimate_mod, only: paleoclimate, h2o_ice_depth, lag_co2_ice, d_coef 33 use paleoclimate_mod, only: paleoclimate, h2o_ice_depth, lag_co2_ice, d_coef, zdqsdif_ssi_tot 34 34 use comcstfi_h, only: pi 35 35 use geometry_mod, only: latitude … … 845 845 h2o_ice_depth(:,:) = -1. 846 846 endif 847 848 ! Total flux with SSI 849 call get_field("zdqsdif_ssi_tot",zdqsdif_ssi_tot,found,indextime) 850 if (.not.found) then 851 write(*,*) "phyetat0: Failed loading <zdqsdif_ssi_tot> : ", & 852 "<zdqsdif_ssi_tot> is set as -1 (no subsurface ice)" 853 zdqsdif_ssi_tot(:,:) = 0. 854 endif 847 855 848 856 ! Diffusion coeficent … … 873 881 h2o_ice_depth = -1. 874 882 lag_co2_ice = -1. 883 zdqsdif_ssi_tot = 0. 875 884 d_coef = 4.e-4 876 885 perennial_co2ice = 0. … … 880 889 h2o_ice_depth = -1. 881 890 lag_co2_ice = -1. 891 zdqsdif_ssi_tot = 0. 882 892 d_coef = 4.e-4 883 893 perennial_co2ice = 0. -
trunk/LMDZ.MARS/libf/phymars/phyredem.F90
r3509 r3619 28 28 use time_phylmdz_mod, only: daysec 29 29 use comslope_mod, ONLY: nslope 30 USE paleoclimate_mod, ONLY: paleoclimate, h2o_ice_depth, lag_co2_ice, d_coef 30 USE paleoclimate_mod, ONLY: paleoclimate, h2o_ice_depth, lag_co2_ice, d_coef, zdqsdif_ssi_tot 31 31 32 32 implicit none … … 193 193 call put_field("h2o_ice_depth","Depth to the fisrt H2O ice",h2o_ice_depth) 194 194 call put_field("lag_co2_ice","Depth of the CO2 lags",lag_co2_ice) 195 call put_field("zdqsdif_ssi_tot","Total flux with SSI",zdqsdif_ssi_tot) 195 196 call put_field("d_coef","Diffusion coefficent",d_coef) 196 197 endif -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3468 r3619 34 34 & subslope_dist,major_slope,iflat 35 35 use microphys_h, only: To 36 use paleoclimate_mod, only: d_coef,h2o_ice_depth,lag_layer 36 use paleoclimate_mod, only: d_coef,h2o_ice_depth,lag_layer, 37 & zdqsdif_ssi_tot 37 38 use comsoil_h, only: layer, mlayer,adsorption_soil 38 39 use vdif_cd_mod, only: vdif_cd … … 243 244 REAL zdqsdif_ssi_atm_tot(ngrid,nslope) ! SSI - atmosphere flux (kg/m^2/s^-1) summed over all subtimestep 244 245 REAL zdqsdif_ssi_frost_tot(ngrid,nslope) ! SSI - frost flux (kg/m^2/s^-1) summed over all subtimestep 245 REAL zdqsdif_ssi_tot(ngrid,nslope) ! Total flux of the interactions with SSI kg/m^2/s^-1)246 246 247 247 REAL :: tol_frost = 2e-3 ! tolerence for frost thicnkess (kg/m^2) to avoid numerical noise effect
Note: See TracChangeset
for help on using the changeset viewer.