Ignore:
Timestamp:
May 21, 2025, 3:57:33 PM (5 weeks ago)
Author:
jbclement
Message:

PEM:
Revision of the layering structure and algorithm:

  • 'stratum' components are now expressed in height
  • deletion of the (redundant) thickness feature of 'stratum'
  • 'stratif' in the PEM main program is renamed 'deposits'
  • addition of several procedures to get useful information about a stratum (major component or thickness)
  • all subsurface layers are now represented in the layering structure by strata with negative top elevation
  • simplification of the different situations arising from the input tendencies
  • porosity is determined for the entire stratum (and not anymore for each component) based on dominant component
  • sublimation of CO2 and H2O ice is now handled simultaneously (more realistic) in a stratum
  • linking the layering algorithm with the PEM initilization/finalization regarding PCM data and with the PEM stopping criteria
  • making separate cases for glaciers vs layering management
  • H2O sublimation flux correction is now handled with the layering when a dust lag layer layer is growing
  • update of 'h2o_ice_depth' and 'zdqsdif' accordingly at the PEM end for the PCM

JBC

File:
1 edited

Legend:

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

    r3707 r3770  
    9292Rz_old = icetable_depth_old*zcdv/coef_diff ! Old resistance from PCM
    9393Rz_new = icetable_depth_new*zcdv/coef_diff ! New resistance based on new depth
    94 R_dec = Rz_new/Rz_old ! Decrease because of resistance
     94if (abs(Rz_old) < 1.e-10) then
     95    R_dec = 1.
     96else
     97    R_dec = Rz_new/Rz_old ! Decrease because of resistance
     98endif
    9599
    96100! The maxmimum of the daily averages over one year for the saturation vapor pressure at the ice table location
     
    103107
    104108! Lower humidity due to growing lag layer (higher depth)
     109print*, psv_max_old,psv_max_new
    105110hum_dec = psv_max_old/psv_max_new ! Decrease because of lower water vapor pressure at the new depth
    106111
    107112! Flux correction (decrease)
     113print*, 'aaaaah', R_dec,hum_dec
    108114d_h2oice = d_h2oice/R_dec/hum_dec
    109115
Note: See TracChangeset for help on using the changeset viewer.