Changeset 403 for palm/trunk/SOURCE
- Timestamp:
- Oct 22, 2009 1:57:16 PM (15 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r402 r403 16 16 Bugfix: calculation of time-averaged surface heatfluxes (sum_up_3d_data) 17 17 18 sum_up_3d_data, time_integration 18 Bugfix: calculation of precipitation_rate (calc_precipitation) 19 20 sum_up_3d_data, time_integration, calc_precipitation 19 21 20 22 -
palm/trunk/SOURCE/calc_precipitation.f90
r77 r403 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix in calculation of precipitation_rate(j,i) 7 7 ! 8 8 ! Former revisions: … … 40 40 MODULE PROCEDURE calc_precipitation_ij 41 41 END INTERFACE calc_precipitation 42 42 43 43 CONTAINS 44 44 … … 60 60 REAL :: dqdt_precip 61 61 62 precipitation_rate = 0.0 62 63 63 precipitation_rate = 0.064 65 64 DO i = nxl, nxr 66 65 DO j = nys, nyn … … 104 103 USE control_parameters 105 104 USE indices 106 105 107 106 IMPLICIT NONE 108 107 … … 110 109 REAL :: dqdt_precip 111 110 111 precipitation_rate(j,i) = 0.0 112 112 113 precipitation_rate(j,i) = 0.0114 115 113 ! 116 114 !-- Ghostpoints are included (although not needed for tend) to avoid a later … … 126 124 127 125 ! 128 !-- Precipitation rate in (kg * 0.001) / m**2 / s (because 1kg gives 1 mm) 129 ! precipitation_rate(j,i) = precipitation_rate(j,i) + dqdt_precip * & 130 ! dzw(k) * 0.001 131 precipitation_rate(j,i) = 1.0 126 !-- Precipitation rate in kg / m**2 / s (= mm/s) 127 precipitation_rate(j,i) = precipitation_rate(j,i) + dqdt_precip * & 128 dzw(k) 132 129 133 130 ENDDO 134 131 135 132 ! 136 !-- Sum up the precipitation amount (unit kg * 0.001 / m**2)133 !-- Sum up the precipitation amount , unit kg / m**2 (= mm) 137 134 IF ( intermediate_timestep_count == intermediate_timestep_count_max & 138 135 .AND. ( dt_do2d_xy-time_do2d_xy ) < precipitation_amount_interval )&
Note: See TracChangeset
for help on using the changeset viewer.