Ignore:
Timestamp:
Apr 13, 2016 12:56:17 PM (9 years ago)
Author:
maronga
Message:

bugfix in land surface / radiation model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/land_surface_model_mod.f90

    r1852 r1856  
    1919! Current revisions:
    2020! -----------------
    21 !
     21! Bugfix: for water surfaces, the initial water surface temperature is set equal
     22! to the intital skin temperature. Moreover, the minimum value of r_a is now
     23! 1.0 to avoid too large fluxes at the first model time step
    2224!
    2325! Former revisions:
     
    10741076
    10751077!
    1076 !--          Make sure that the resistance does not drop to zero
    1077              IF ( ABS(r_a(j,i)) < 1.0E-10_wp )  r_a(j,i) = 1.0E-10_wp
     1078!--          Make sure that the resistance does not drop to zero for neutral
     1079!--          stratification
     1080             IF ( ABS(r_a(j,i)) < 1.0_wp )  r_a(j,i) = 1.0_wp
    10781081
    10791082!
     
    18851888             IF ( veg_type_2d(j,i) == 14  .OR.  veg_type_2d(j,i) == 15 )  THEN
    18861889                water_surface(j,i) = .TRUE.
     1890                t_soil(:,j,i) = t_surface(j,i)
    18871891             ELSEIF ( veg_type_2d(j,i) == 20 )  THEN
    18881892                pave_surface(j,i) = .TRUE.
Note: See TracChangeset for help on using the changeset viewer.