Ignore:
Timestamp:
Apr 6, 2018, 12:58:13 PM (7 years ago)
Author:
aslmd
Message:

su_watercycle is useless as a standalone subroutine and works best as being contained in the module watercommon_h since it initializes the variables in this module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/watercommon_h.F90

    r1315 r1916  
    2323      contains
    2424
     25!==================================================================
     26      subroutine su_watercycle
     27
     28      use comcstfi_mod, only: cpp, mugaz
     29      implicit none
     30
     31
     32!==================================================================
     33!
     34!     Purpose
     35!     -------
     36!     Set up relevant constants and parameters for the water cycle, and water cloud properties
     37!
     38!     Authors
     39!     -------
     40!     Robin Wordsworth (2010)
     41!     Jeremy Leconte (2012)
     42!
     43!==================================================================
     44
     45      epsi   = mH2O / mugaz
     46      RCPD   = cpp
     47
     48      !RV = 1000.*R/mH2O
     49      RV = 1000.*8.314/mH2O ! caution! R is R/mugaz already!
     50
     51      RCPV   = 1.88e3 ! specific heat capacity of water vapor at 350K
     52
     53      RVTMP2 = RCPV/RCPD-1. ! not currently used...
     54
     55      end subroutine su_watercycle
    2556     
     57
     58
    2659!==================================================================
    2760      subroutine Psat_water(T,p,psat,qsat)
Note: See TracChangeset for help on using the changeset viewer.