Changeset 531 for palm/trunk/SOURCE


Ignore:
Timestamp:
Apr 21, 2010 6:47:21 AM (14 years ago)
Author:
heinze
Message:

call of subsidence added in prognostic equations for humidity/passive scalar, some bugfixes

Location:
palm/trunk/SOURCE
Files:
4 edited

Legend:

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

    r525 r531  
    44! Current revisions:
    55! -----------------
    6 !
     6! Bugfix: unit of hyp changed to dbar
    77!
    88! Former revisions:
     
    22052205          CASE ( 'hyp' )
    22062206             dopr_index(i) = 72
    2207              dopr_unit(i)  = 'kPa'
     2207             dopr_unit(i)  = 'dbar'
    22082208             hom(:,2,72,:) = SPREAD( zu, 2, statistic_regions+1 )
    22092209
  • palm/trunk/SOURCE/flow_statistics.f90

    r392 r531  
    880880       hom(:,1,39,sr) = sums(:,38) / ( sums(:,32) + 1E-20 )**1.5    ! Sw
    881881       hom(:,1,40,sr) = sums(:,40)     ! p
    882        hom(:,1,45,sr) = sums(:,45)     ! w"q"
     882       hom(:,1,45,sr) = sums(:,45)     ! w"vpt"
    883883       hom(:,1,46,sr) = sums(:,46)     ! w*vpt*       
    884884       hom(:,1,47,sr) = sums(:,45) + sums(:,46)    ! wvpt
     
    907907       hom(:,1,70,sr) = sums(:,70)     ! q*2
    908908       hom(:,1,71,sr) = sums(:,71)     ! prho
    909        hom(:,1,72,sr) = hyp * 1E-4     ! hyp in kPa
     909       hom(:,1,72,sr) = hyp * 1E-4     ! hyp in dbar
    910910
    911911       hom(:,1,pr_palm-1,sr) = sums(:,pr_palm-1)
  • palm/trunk/SOURCE/modules.f90

    r520 r531  
    55! Current revisions:
    66! -----------------
    7 !
     7! character length of dopr_unit enlarged
    88!
    99! Former revisions:
     
    10191019             ( 'unknown', i9 = 1, dots_max-23 ) /)
    10201020
    1021     CHARACTER (LEN=7), DIMENSION(300) ::  dopr_unit = 'unknown'
     1021    CHARACTER (LEN=9), DIMENSION(300) ::  dopr_unit = 'unknown'
    10221022
    10231023    CHARACTER (LEN=7), DIMENSION(0:1,100) ::  do2d_unit, do3d_unit
  • palm/trunk/SOURCE/prognostic_equations.f90

    r484 r531  
    44! Current revisions:
    55! -----------------
    6 !
     6! add call of subsidence in the equation for humidity / passive scalar
    77!
    88! Former revisions:
     
    658658!--          Sink or source of scalar concentration due to canopy elements
    659659             IF ( plant_canopy ) CALL plant_canopy_model( i, j, 5 )
     660
     661!
     662!--          If required compute influence of large-scale subsidence/ascent
     663             IF ( large_scale_subsidence ) THEN
     664                CALL subsidence ( i, j, tend, q, q_init )
     665             ENDIF
    660666
    661667             CALL user_actions( i, j, 'q-tendency' )
     
    11101116          ENDIF
    11111117
    1112 
    11131118          CALL user_actions( i, j, 'pt-tendency' )
    11141119
     
    12231228!--          Sink or source of scalar concentration due to canopy elements
    12241229             IF ( plant_canopy ) CALL plant_canopy_model( i, j, 5 )
     1230
     1231
     1232!--          If required compute influence of large-scale subsidence/ascent
     1233             IF ( large_scale_subsidence ) THEN
     1234                CALL subsidence ( i, j, tend, q, q_init )
     1235             ENDIF
    12251236
    12261237
     
    19071918       IF ( plant_canopy ) CALL plant_canopy_model( 5 )
    19081919
     1920!
     1921!--    If required compute influence of large-scale subsidence/ascent
     1922       IF ( large_scale_subsidence ) THEN
     1923         CALL subsidence ( tend, q, q_init )
     1924       ENDIF
     1925
    19091926       CALL user_actions( 'q-tendency' )
    19101927
Note: See TracChangeset for help on using the changeset viewer.