Ignore:
Timestamp:
Mar 27, 2012, 5:02:10 PM (13 years ago)
Author:
jleconte
Message:
  • Corrects the computation of planck function at the surface in sfluxi

so that its integral is equal to sigma Tsurf4.

  • This ensure that no flux is lost due to:

-truncation of the planck function at high/low wavenumber
-numerical error during first spectral computation of the planck function
-discrepancy between Tsurf and NTS/NTfac in sfluxi

  • OLR now equal to LW net heating/cooling at equilibrium!
  • As much as possible, only the value of the stephan boltzmann constant defined in racommon_h (and the

corresponding variable, sigma) should be used. Now done in physics, vdifc and turbdiff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/vdifc.F

    r594 r600  
    88
    99      use watercommon_h, only : RLVTT, To, RCPD, mx_eau_sol
     10      use radcommon_h, only : sigma
    1011
    1112      implicit none
     
    134135      save ivap, iice
    135136
    136       real, parameter :: sigma=5.67e-8
    137137      real, parameter :: karman=0.4
    138138      real cd0, roughratio
Note: See TracChangeset for help on using the changeset viewer.