Ignore:
Timestamp:
Jun 17, 2022, 4:24:49 PM (2 years ago)
Author:
lguez
Message:

Sync latest trunk changes to branch LMDZ-ECRAD.

Location:
LMDZ6/branches/LMDZ-ECRAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ-ECRAD

  • LMDZ6/branches/LMDZ-ECRAD/libf/phylmd/suphel.F90

    r3447 r4171  
    131131  rcvv = rcpv - rv
    132132  rkappa = rd/rcpd
     133  eps_w = rmv / rmd
    133134  retv = rv/rd - 1.
    134135  WRITE (UNIT=6, FMT='('' *** Thermodynamic, gas     ***'')')
    135   WRITE (UNIT=6, FMT='('' Perfect gas  = '',e13.7)') r
    136   WRITE (UNIT=6, FMT='('' Dry air mass = '',e13.7)') rmd
    137   WRITE (UNIT=6, FMT='('' Ozone   mass = '',e13.7)') rmo3
    138   WRITE (UNIT=6, FMT='('' CO2     mass = '',e13.7)') rmco2
    139   WRITE (UNIT=6, FMT='('' C       mass = '',e13.7)') rmc
    140   WRITE (UNIT=6, FMT='('' CH4     mass = '',e13.7)') rmch4
    141   WRITE (UNIT=6, FMT='('' N2O     mass = '',e13.7)') rmn2o
    142   WRITE (UNIT=6, FMT='('' CFC11   mass = '',e13.7)') rmcfc11
    143   WRITE (UNIT=6, FMT='('' CFC12   mass = '',e13.7)') rmcfc12
    144   WRITE (UNIT=6, FMT='('' Vapour  mass = '',e13.7)') rmv
    145   WRITE (UNIT=6, FMT='('' Dry air cst. = '',e13.7)') rd
    146   WRITE (UNIT=6, FMT='('' Vapour  cst. = '',e13.7)') rv
    147   WRITE (UNIT=6, FMT='(''         Cpd  = '',e13.7)') rcpd
    148   WRITE (UNIT=6, FMT='(''         Cvd  = '',e13.7)') rcvd
    149   WRITE (UNIT=6, FMT='(''         Cpv  = '',e13.7)') rcpv
    150   WRITE (UNIT=6, FMT='(''         Cvv  = '',e13.7)') rcvv
     136  WRITE (UNIT=6, FMT='('' Perfect gas  = '',e13.7,'' J mol-1 K-1'')') r
     137  WRITE (UNIT=6, FMT='('' Dry air mass = '',e13.7,'' g mol-1'')') rmd
     138  WRITE (UNIT=6, FMT='('' Ozone   mass = '',e13.7,'' g mol-1'')') rmo3
     139  WRITE (UNIT=6, FMT='('' CO2     mass = '',e13.7,'' g mol-1'')') rmco2
     140  WRITE (UNIT=6, FMT='('' C       mass = '',e13.7,'' g mol-1'')') rmc
     141  WRITE (UNIT=6, FMT='('' CH4     mass = '',e13.7,'' g mol-1'')') rmch4
     142  WRITE (UNIT=6, FMT='('' N2O     mass = '',e13.7,'' g mol-1'')') rmn2o
     143  WRITE (UNIT=6, FMT='('' CFC11   mass = '',e13.7,'' g mol-1'')') rmcfc11
     144  WRITE (UNIT=6, FMT='('' CFC12   mass = '',e13.7,'' g mol-1'')') rmcfc12
     145  WRITE (UNIT=6, FMT='('' Vapour  mass = '',e13.7,'' g mol-1'')') rmv
     146  WRITE (UNIT=6, FMT='('' Dry air cst. = '',e13.7,'' J K-1 kg-1'')') rd
     147  WRITE (UNIT=6, FMT='('' Vapour  cst. = '',e13.7,'' J K-1 kg-1'')') rv
     148  WRITE (UNIT=6, FMT='(''         Cpd  = '',e13.7,'' J K-1 kg-1'')') rcpd
     149  WRITE (UNIT=6, FMT='(''         Cvd  = '',e13.7,'' J K-1 kg-1'')') rcvd
     150  WRITE (UNIT=6, FMT='(''         Cpv  = '',e13.7,'' J K-1 kg-1'')') rcpv
     151  WRITE (UNIT=6, FMT='(''         Cvv  = '',e13.7,'' J K-1 kg-1'')') rcvv
    151152  WRITE (UNIT=6, FMT='(''      Rd/Cpd  = '',e13.7)') rkappa
    152153  WRITE (UNIT=6, FMT='(''     Rv/Rd-1  = '',e13.7)') retv
     154  WRITE (UNIT=6, FMT='(''        Rd/Rv = '',e13.7)') eps_w
    153155
    154156  ! ----------------------------------------------------------------
     
    159161  rcw = rcpv
    160162  WRITE (UNIT=6, FMT='('' *** Thermodynamic, liquid  ***'')')
    161   WRITE (UNIT=6, FMT='(''         Cw   = '',E13.7)') rcw
     163  WRITE (UNIT=6, FMT='(''         Cw   = '',E13.7,'' J K-1 kg-1'')') rcw
    162164
    163165  ! ----------------------------------------------------------------
     
    168170  rcs = rcpv
    169171  WRITE (UNIT=6, FMT='('' *** thermodynamic, solid   ***'')')
    170   WRITE (UNIT=6, FMT='(''         Cs   = '',E13.7)') rcs
     172  WRITE (UNIT=6, FMT='(''         Cs   = '',E13.7,'' J K-1 kg-1'')') rcs
    171173
    172174  ! ----------------------------------------------------------------
     
    181183  ratm = 100000.
    182184  WRITE (UNIT=6, FMT='('' *** Thermodynamic, trans.  ***'')')
    183   WRITE (UNIT=6, FMT='('' Fusion point  = '',E13.7)') rtt
    184   WRITE (UNIT=6, FMT='(''        RLvTt  = '',E13.7)') rlvtt
    185   WRITE (UNIT=6, FMT='(''        RLsTt  = '',E13.7)') rlstt
    186   WRITE (UNIT=6, FMT='(''        RLMlt  = '',E13.7)') rlmlt
    187   WRITE (UNIT=6, FMT='('' Normal press. = '',E13.7)') ratm
     185  WRITE (UNIT=6, FMT='('' Fusion point  = '',E13.7,'' K'')') rtt
     186  WRITE (UNIT=6, FMT='(''        RLvTt  = '',E13.7,'' J kg-1'')') rlvtt
     187  WRITE (UNIT=6, FMT='(''        RLsTt  = '',E13.7,'' J kg-1'')') rlstt
     188  WRITE (UNIT=6, FMT='(''        RLMlt  = '',E13.7,'' J kg-1'')') rlmlt
     189  WRITE (UNIT=6, FMT='('' Normal press. = '',E13.7,'' Pa'')') ratm
    188190  WRITE (UNIT=6, FMT='('' Latent heat :  '')')
    189191
     
    193195  ! --------------------------
    194196
    195   restt = 611.14
     197  restt = 611.14   !--saturation water vapour pressure at triple point (Pa)
    196198  rgamw = (rcw-rcpv)/rv
    197199  rbetw = rlvtt/rv + rgamw*rtt
Note: See TracChangeset for help on using the changeset viewer.