Ignore:
Timestamp:
Jun 30, 2022, 10:31:16 AM (2 years ago)
Author:
emillour
Message:

Mars GCM:
Minor bug fix in co2condens, erroneous use of surface geopotential phisfi(),
wheras geoptential pphi() is already the geopotential relative to the surface.
Tests showed that this specific erroneous computation was only done in rare
cases and had overall little impact on the simulations.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F

    r2669 r2739  
    2424     &                      qperemin,masseqmin,
    2525     &                      igcm_co2
    26        use surfdat_h, only: emissiv, phisfi
     26       use surfdat_h, only: emissiv
    2727       use geometry_mod, only: latitude, ! grid point latitudes (rad)
    2828     &                         longitude_deg, latitude_deg
     
    400400
    401401            IF (zfallice(ig,1).gt.0 .and. .not. co2clouds) then
    402               zfallheat = zfallice(ig,1) * (pphi(ig,1)- phisfi(ig) +
     402              ! potential eneregy release due to the impact of the snowfall
     403              ! appendix of forget et al. 1999
     404              zfallheat = zfallice(ig,1) * (pphi(ig,1) +
    403405     &                    cpice*(ztcond(ig,1)-ztcondsol(ig)))/latcond
    404406            ELSE
Note: See TracChangeset for help on using the changeset viewer.