Changeset 663 for trunk


Ignore:
Timestamp:
May 21, 2012, 1:35:29 PM (13 years ago)
Author:
flefevre
Message:

Improvement in the stability of the water cycle scheme at very low
temperatures: avoid infinite values of the H2O saturation ratio
in improvedclouds.F

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/LMDZ.MARS/README

    r661 r663  
    16791679  local array).
    16801680
    1681 == 21/05/12 == JYC
     1681== 21/05/12 == JYC+FL
    16821682- corrected bug in computation of HCO2+ in paramfoto_compact.F
     1683- avoid infinite H2O saturation ratio at very low temperatures in improvedclouds.F
  • TabularUnified trunk/LMDZ.MARS/libf/phymars/improvedclouds.F

    r633 r663  
    3636#include "dimradmars.h"
    3737#include "microphys.h"
     38#include "conc.h"
    3839c------------------------------------------------------------------
    3940c     Inputs:
     
    258259
    259260c       Get the partial pressure of water vapor and its saturation ratio
    260         ph2o = zq(ig,l,igcm_h2o_vap) * (44./18.) * pplay(ig,l)
    261         satu = zq(ig,l,igcm_h2o_vap) / zqsat(ig,l)
     261        ph2o = zq(ig,l,igcm_h2o_vap) * (mmean(ig,l)/18.) * pplay(ig,l)
     262        satu = zq(ig,l,igcm_h2o_vap) / max(zqsat(ig,l), 1.e-30)
    262263
    263264!=============================================================
Note: See TracChangeset for help on using the changeset viewer.