Changeset 4185 for palm/trunk/SOURCE
- Timestamp:
- Aug 23, 2019 1:49:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4182 r4185 25 25 ! ----------------- 26 26 ! $Id$ 27 ! For initializing_actions = ' cyclic_fill': 28 ! Overwrite u_init, v_init, pt_init, q_init and s_init with the 29 ! (temporally) and horizontally averaged vertical profiles from the end 30 ! of the prerun, because these profiles shall be used as the basic state 31 ! for the rayleigh damping and the pt_damping. 32 ! 33 ! 4182 2019-08-22 15:20:23Z scharf 27 34 ! Corrected "Former revisions" section 28 35 ! … … 1130 1137 !-- These profiles are the (temporally) and horizontally averaged vertical 1131 1138 !-- profiles from the prerun. Alternatively, prescribed profiles 1132 !-- for u,v-components can be used. 1139 !-- for u,v-components can be used. 1140 !-- Overwrite u_init, v_init, pt_init, q_init and s_init with the 1141 !-- (temporally) and horizontally averaged vertical profiles from the end 1142 !-- of the prerun, because these profiles shall be used as the basic state 1143 !-- for the rayleigh damping and the pt_damping. 1133 1144 ALLOCATE( mean_inflow_profiles(nzb:nzt+1,1:num_mean_inflow_profiles) ) 1134 1145 … … 1138 1149 ELSE 1139 1150 mean_inflow_profiles(:,1) = hom_sum(:,1,0) ! u 1151 u_init(:) = hom_sum(:,1,0) 1140 1152 mean_inflow_profiles(:,2) = hom_sum(:,2,0) ! v 1153 v_init(:) = hom_sum(:,2,0) 1141 1154 ENDIF 1142 1155 mean_inflow_profiles(:,4) = hom_sum(:,4,0) ! pt 1156 pt_init(:) = hom_sum(:,4,0) 1143 1157 IF ( humidity ) & 1144 1158 mean_inflow_profiles(:,6) = hom_sum(:,41,0) ! q 1159 q_init(:) = hom_sum(:,41,0) 1145 1160 IF ( passive_scalar ) & 1146 1161 mean_inflow_profiles(:,7) = hom_sum(:,115,0) ! s 1162 s_init(:) = hom_sum(:,115,0) 1147 1163 ! 1148 1164 !-- In case of complex terrain, determine vertical displacement at inflow
Note: See TracChangeset
for help on using the changeset viewer.