Ignore:
Timestamp:
Feb 17, 2026, 2:45:53 PM (2 weeks ago)
Author:
jbclement
Message:

PEM:

  • Correct management of H2O ice tendency in 1D when there is not enough ice anymore.
  • Clean initialization of allocatable module arrays (especially needed when no slope)
  • One more renaming for consistency + few small updates thoughout the code.

JBC

File:
1 edited

Legend:

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

    r4065 r4074  
    379379     fracIR = 0.04*p0(k)/600.; fracDust = 0.02*p0(k)/600.
    380380     B = Diff*bigstep*86400.*365.24/(porosity*927.)
    381      !B = Diff*bigstep*86400.*365.24/(porosity*rho_ice(Tb(),'h2o'))
     381     !B = Diff*bigstep*86400.*365.24/(porosity*rho_ice(Tb(),'H2O'))
    382382
    383383     typeT = -9
     
    869869
    870870  B = Diff*bigstep*86400.*365.24/(porosity*927.)
    871   !B = Diff*bigstep*86400.*365.24/(porosity*rho_ice(T,'h2o'))
     871  !B = Diff*bigstep*86400.*365.24/(porosity*rho_ice(T,'H2O'))
    872872
    873873  ! advance ice table, avdrho>0 is retreat
     
    889889        beta = (1-icefrac)/(1-porosity)/icefrac
    890890        beta = Diff*bigstep*beta*86400*365.24/927.
    891         !beta = Diff*bigstep*beta*86400*365.24/rho_ice(T,'h2o')
     891        !beta = Diff*bigstep*beta*86400*365.24/rho_ice(T,'H2O')
    892892        zdepthT = sqrt(2*beta*avdrho*18./8314. + zdepthT**2)
    893893     endif
Note: See TracChangeset for help on using the changeset viewer.