Ignore:
Timestamp:
Nov 8, 2021, 9:24:56 AM (3 years ago)
Author:
oboucher
Message:

Adding missing units in print out of physical constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/suphel.F90

    r4000 r4001  
    134134  retv = rv/rd - 1.
    135135  WRITE (UNIT=6, FMT='('' *** Thermodynamic, gas     ***'')')
    136   WRITE (UNIT=6, FMT='('' Perfect gas  = '',e13.7)') r
    137   WRITE (UNIT=6, FMT='('' Dry air mass = '',e13.7)') rmd
    138   WRITE (UNIT=6, FMT='('' Ozone   mass = '',e13.7)') rmo3
    139   WRITE (UNIT=6, FMT='('' CO2     mass = '',e13.7)') rmco2
    140   WRITE (UNIT=6, FMT='('' C       mass = '',e13.7)') rmc
    141   WRITE (UNIT=6, FMT='('' CH4     mass = '',e13.7)') rmch4
    142   WRITE (UNIT=6, FMT='('' N2O     mass = '',e13.7)') rmn2o
    143   WRITE (UNIT=6, FMT='('' CFC11   mass = '',e13.7)') rmcfc11
    144   WRITE (UNIT=6, FMT='('' CFC12   mass = '',e13.7)') rmcfc12
    145   WRITE (UNIT=6, FMT='('' Vapour  mass = '',e13.7)') rmv
    146   WRITE (UNIT=6, FMT='('' Dry air cst. = '',e13.7)') rd
    147   WRITE (UNIT=6, FMT='('' Vapour  cst. = '',e13.7)') rv
    148   WRITE (UNIT=6, FMT='(''         Cpd  = '',e13.7)') rcpd
    149   WRITE (UNIT=6, FMT='(''         Cvd  = '',e13.7)') rcvd
    150   WRITE (UNIT=6, FMT='(''         Cpv  = '',e13.7)') rcpv
    151   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
    152152  WRITE (UNIT=6, FMT='(''      Rd/Cpd  = '',e13.7)') rkappa
    153153  WRITE (UNIT=6, FMT='(''     Rv/Rd-1  = '',e13.7)') retv
     
    161161  rcw = rcpv
    162162  WRITE (UNIT=6, FMT='('' *** Thermodynamic, liquid  ***'')')
    163   WRITE (UNIT=6, FMT='(''         Cw   = '',E13.7)') rcw
     163  WRITE (UNIT=6, FMT='(''         Cw   = '',E13.7,'' J K-1 kg-1'')') rcw
    164164
    165165  ! ----------------------------------------------------------------
     
    170170  rcs = rcpv
    171171  WRITE (UNIT=6, FMT='('' *** thermodynamic, solid   ***'')')
    172   WRITE (UNIT=6, FMT='(''         Cs   = '',E13.7)') rcs
     172  WRITE (UNIT=6, FMT='(''         Cs   = '',E13.7,'' J K-1 kg-1'')') rcs
    173173
    174174  ! ----------------------------------------------------------------
     
    183183  ratm = 100000.
    184184  WRITE (UNIT=6, FMT='('' *** Thermodynamic, trans.  ***'')')
    185   WRITE (UNIT=6, FMT='('' Fusion point  = '',E13.7)') rtt
    186   WRITE (UNIT=6, FMT='(''        RLvTt  = '',E13.7)') rlvtt
    187   WRITE (UNIT=6, FMT='(''        RLsTt  = '',E13.7)') rlstt
    188   WRITE (UNIT=6, FMT='(''        RLMlt  = '',E13.7)') rlmlt
    189   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
    190190  WRITE (UNIT=6, FMT='('' Latent heat :  '')')
    191191
     
    195195  ! --------------------------
    196196
    197   restt = 611.14
     197  restt = 611.14   !--saturation water vapour pressure at triple point (Pa)
    198198  rgamw = (rcw-rcpv)/rv
    199199  rbetw = rlvtt/rv + rgamw*rtt
Note: See TracChangeset for help on using the changeset viewer.