Ignore:
Timestamp:
Apr 3, 2025, 10:38:43 AM (3 months ago)
Author:
evos
Message:

adding the growth of the lag layer
changing the stopping critiria to take into account the top startum layer
removing the case where if we have 0 ice the PEM stops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3707 r3711  
    10221022    if (soil_pem) deallocate(icetable_depth_old,tsoil_PEM_timeseries_old)
    10231023    deallocate(vmr_co2_PEM_phys)
     1024    write(*,*) "> Updating the H2O sub-surface ice depth"
     1025    do ig = 1,ngrid
     1026        do islope = 1,nslope
     1027           if (icetable_depth(ig,islope) > 0) then
     1028               icetable_depth(ig,islope)=icetable_depth(ig,islope) + d_h2oice(ig,islope)*0.01 !!! 0.01 is for 1 percent dust, needs to be updated !!!
     1029            endif
     1030        enddo
     1031    enddo
     1032
    10241033
    10251034!------------------------
     
    10281037!------------------------
    10291038    write(*,*) "> Checking the stopping criteria"
     1039    h2o_ice=sum(stratif(ig,islope)%top%h2oice_volfrac*stratif(ig,islope)%top%thickness*subslope_dist(ig,:)/cos(pi*def_slope_mean(:)/180.))
     1040    co2_ice=sum(stratif(ig,islope)%top%h2oice_volfrac*stratif(ig,islope)%top%thickness*subslope_dist(ig,:)/cos(pi*def_slope_mean(:)/180.))
    10301041    call stopping_crit_h2o_ice(cell_area,h2oice_ini_surf,is_h2oice_sublim_ini,h2o_ice,stopPEM,ngrid)
    10311042    call stopping_crit_co2(cell_area,co2ice_sublim_surf_ini,is_co2ice_sublim_ini,co2_ice,stopPEM,ngrid,ps_avg_global_ini,ps_avg_global_new,nslope)
Note: See TracChangeset for help on using the changeset viewer.