Ignore:
Timestamp:
Oct 26, 2015 4:17:44 PM (9 years ago)
Author:
maronga
Message:

various bugfixes and modifications of the atmosphere-land-surface-radiation interaction. Completely re-written routine to calculate surface fluxes (surface_layer_fluxes.f90) that replaces prandtl_fluxes. Minor formatting corrections and renamings

File:
1 edited

Legend:

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

    r1683 r1691  
    1414! PALM. If not, see <http://www.gnu.org/licenses/>.
    1515!
    16 ! Copyright 1997-2014 Leibniz Universitaet Hannover
     16! Copyright 1997-2015 Leibniz Universitaet Hannover
    1717!--------------------------------------------------------------------------------!
    1818!
    1919! Current revisions:
    2020! -----------------
    21 !
     21! Renamed rif_min and rif_max with zeta_min and zeta_max, respectively.
    2222!
    2323! Former revisions:
     
    6969!> it gives slightly different results from the ij-version for some unknown
    7070!> reason.
     71!>
     72!> @todo Rename rif to zeta throughout the routine
    7173!------------------------------------------------------------------------------!
    7274 MODULE wall_fluxes_mod
     
    107109       
    108110       USE control_parameters,                                                 &
    109            ONLY:  g, kappa, rif_max, rif_min
     111           ONLY:  g, kappa, zeta_max, zeta_min
    110112       
    111113       USE grid_variables,                                                     &
     
    234236!--                shear stresses and very small momentum fluxes (both are
    235237!--                generally unrealistic).
    236                    IF ( rifs < rif_min )  rifs = rif_min
    237                    IF ( rifs > rif_max )  rifs = rif_max
     238                   IF ( rifs < zeta_min )  rifs = zeta_min
     239                   IF ( rifs > zeta_max )  rifs = zeta_max
    238240
    239241!
     
    291293       
    292294       USE control_parameters,                                                 &
    293            ONLY:  g, kappa, rif_max, rif_min
     295           ONLY:  g, kappa, zeta_max, zeta_min
    294296       
    295297       USE grid_variables,                                                     &
     
    428430!--                shear stresses and very small momentum fluxes (both are
    429431!--                generally unrealistic).
    430                    IF ( rifs < rif_min )  rifs = rif_min
    431                    IF ( rifs > rif_max )  rifs = rif_max
     432                   IF ( rifs < zeta_min )  rifs = zeta_min
     433                   IF ( rifs > zeta_max )  rifs = zeta_max
    432434
    433435!
     
    485487       
    486488       USE control_parameters,                                                 &
    487            ONLY:  g, kappa, rif_max, rif_min
     489           ONLY:  g, kappa, zeta_max, zeta_min
    488490       
    489491       USE grid_variables,                                                     &
     
    596598!--       consequence would result in very large shear stresses and very
    597599!--       small momentum fluxes (both are generally unrealistic).
    598           IF ( rifs < rif_min )  rifs = rif_min
    599           IF ( rifs > rif_max )  rifs = rif_max
     600          IF ( rifs < zeta_min )  rifs = zeta_min
     601          IF ( rifs > zeta_max )  rifs = zeta_max
    600602
    601603!
Note: See TracChangeset for help on using the changeset viewer.