Changeset 1992 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Aug 12, 2016 3:14:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r1961 r1992 19 19 ! Current revisions: 20 20 ! ------------------ 21 ! 21 ! Initializaton of scalarflux at model top 22 ! Bugfixes in initialization of surface and top salinity flux, top scalar and 23 ! humidity fluxes 22 24 ! 23 25 ! Former revisions: … … 1205 1207 ENDIF 1206 1208 ENDIF 1207 ENDIF 1209 ENDIF 1210 ! 1211 !-- Initialize near-surface salinity flux 1212 IF ( ocean ) saswsb = bottom_salinityflux 1208 1213 1209 1214 ENDIF … … 1214 1219 !-- The latent flux is zero in this case! 1215 1220 IF ( use_top_fluxes ) THEN 1216 1217 IF ( constant_top_heatflux ) THEN 1218 ! 1219 !-- Heat flux is prescribed 1220 tswst = top_heatflux 1221 1222 IF ( humidity ) THEN 1223 qswst = 0.0_wp 1224 IF ( cloud_physics .AND. microphysics_seifert ) THEN 1225 nrswst = 0.0_wp 1226 qrswst = 0.0_wp 1227 ENDIF 1221 ! 1222 !-- Prescribe to heat flux 1223 IF ( constant_top_heatflux ) tswst = top_heatflux 1224 ! 1225 !-- Prescribe zero latent flux at the top 1226 IF ( humidity ) THEN 1227 qswst = 0.0_wp 1228 IF ( cloud_physics .AND. microphysics_seifert ) THEN 1229 nrswst = 0.0_wp 1230 qrswst = 0.0_wp 1228 1231 ENDIF 1229 IF ( passive_scalar ) sswst = 0.0_wp 1230 1231 IF ( ocean ) THEN 1232 saswsb = bottom_salinityflux 1233 saswst = top_salinityflux 1234 ENDIF 1235 ENDIF 1236 1232 ENDIF 1233 ! 1234 !-- Prescribe top scalar flux 1235 IF ( passive_scalar .AND. constant_top_scalarflux ) & 1236 sswst = top_scalarflux 1237 ! 1238 !-- Prescribe top salinity flux 1239 IF ( ocean .AND. constant_top_salinityflux) & 1240 saswst = top_salinityflux 1237 1241 ! 1238 1242 !-- Initialization in case of a coupled model run
Note: See TracChangeset
for help on using the changeset viewer.