Changeset 2818 for palm/trunk
- Timestamp:
- Feb 19, 2018 4:42:36 PM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/read_var_list.f90
r2776 r2818 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Added spinup_time to allow for restarts with spinup in precursor run. 28 ! 29 ! 2776 2018-01-31 10:44:42Z Giersch 27 30 ! Change skip_var_list: Skipping of module related parameter is only necessary 28 31 ! if restart data was outputted at the end of the precursor run … … 294 297 !-- Make version number check first 295 298 READ ( 13 ) version_on_file 296 binary_version = '4. 5'299 binary_version = '4.6' 297 300 IF ( TRIM( version_on_file ) /= TRIM( binary_version ) ) THEN 298 301 WRITE( message_string, * ) 'version mismatch concerning control ', & … … 693 696 CASE ( 'simulated_time' ) 694 697 READ ( 13 ) simulated_time 698 CASE ( 'spinup_time' ) 699 READ ( 13 ) spinup_time 695 700 CASE ( 'surface_heatflux' ) 696 701 READ ( 13 ) surface_heatflux -
palm/trunk/SOURCE/time_integration_spinup.f90
r2782 r2818 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Velocity components near walls/ground are now set to the profiles stored in 28 ! u_init and v_init. Activated soil moisture calculation during spinup. 29 ! 30 ! 2782 2018-02-02 11:51:10Z maronga 27 31 ! Bugfix and re-activation of homogeneous setting of velocity components 28 32 ! during spinup … … 76 80 77 81 USE arrays_3d, & 78 ONLY: pt, pt_p, u, v82 ONLY: pt, pt_p, u, u_init, v, v_init 79 83 80 84 USE control_parameters, & … … 183 187 j = surf_lsm_h%j(m) 184 188 k = surf_lsm_h%k(m) 185 u(k,j,i) = SIGN(1.0_wp,u(k,j,i)) * MAX(ug_surface,0.1_wp)186 v(k,j,i) = SIGN(1.0_wp,v(k,j,i)) * MAX(vg_surface,0.1_wp)189 u(k,j,i) = SIGN(1.0_wp,u_init(k)) * MAX(u_init(k),0.1_wp) 190 v(k,j,i) = SIGN(1.0_wp,v_init(k)) * MAX(v_init(k),0.1_wp) 187 191 ENDDO 188 192 … … 192 196 j = surf_lsm_v(l)%j(m) 193 197 k = surf_lsm_v(l)%k(m) 194 u(k,j,i) = SIGN(1.0_wp,u(k,j,i)) * MAX(ug_surface,0.1_wp)195 v(k,j,i) = SIGN(1.0_wp,v(k,j,i)) * MAX(vg_surface,0.1_wp)198 u(k,j,i) = SIGN(1.0_wp,u_init(k)) * MAX(u_init(k),0.1_wp) 199 v(k,j,i) = SIGN(1.0_wp,v_init(k)) * MAX(v_init(k),0.1_wp) 196 200 ENDDO 197 201 ENDDO … … 203 207 j = surf_usm_h%j(m) 204 208 k = surf_usm_h%k(m) 205 u(k,j,i) = SIGN(1.0_wp,u(k,j,i)) * MAX(ug_surface,0.1_wp)206 v(k,j,i) = SIGN(1.0_wp,v(k,j,i)) * MAX(vg_surface,0.1_wp)209 u(k,j,i) = SIGN(1.0_wp,u_init(k)) * MAX(u_init(k),0.1_wp) 210 v(k,j,i) = SIGN(1.0_wp,v_init(k)) * MAX(v_init(k),0.1_wp) 207 211 ENDDO 208 212 … … 212 216 j = surf_usm_v(l)%j(m) 213 217 k = surf_usm_v(l)%k(m) 214 u(k,j,i) = SIGN(1.0_wp,u(k,j,i)) * MAX(ug_surface,0.1_wp)215 v(k,j,i) = SIGN(1.0_wp,v(k,j,i)) * MAX(vg_surface,0.1_wp)218 u(k,j,i) = SIGN(1.0_wp,u_init(k)) * MAX(u_init(k),0.1_wp) 219 v(k,j,i) = SIGN(1.0_wp,v_init(k)) * MAX(v_init(k),0.1_wp) 216 220 ENDDO 217 221 ENDDO 218 222 ENDIF 223 224 CALL exchange_horiz( u, nbgp ) 225 CALL exchange_horiz( v, nbgp ) 219 226 220 227 dt_save = dt_3d … … 289 296 ENDIF 290 297 298 CALL exchange_horiz( pt, nbgp ) 299 300 291 301 ! 292 302 !-- Swap the time levels in preparation for the next time step. … … 338 348 !-- Call for horizontal upward-facing surfaces 339 349 CALL lsm_energy_balance( .TRUE., -1 ) 340 CALL lsm_soil_model( .TRUE., -1, . FALSE. )350 CALL lsm_soil_model( .TRUE., -1, .TRUE. ) 341 351 ! 342 352 !-- Call for northward-facing surfaces 343 353 CALL lsm_energy_balance( .FALSE., 0 ) 344 CALL lsm_soil_model( .FALSE., 0, . FALSE. )354 CALL lsm_soil_model( .FALSE., 0, .TRUE. ) 345 355 ! 346 356 !-- Call for southward-facing surfaces 347 357 CALL lsm_energy_balance( .FALSE., 1 ) 348 CALL lsm_soil_model( .FALSE., 1, . FALSE. )358 CALL lsm_soil_model( .FALSE., 1, .TRUE. ) 349 359 ! 350 360 !-- Call for eastward-facing surfaces 351 361 CALL lsm_energy_balance( .FALSE., 2 ) 352 CALL lsm_soil_model( .FALSE., 2, . FALSE. )362 CALL lsm_soil_model( .FALSE., 2, .TRUE. ) 353 363 ! 354 364 !-- Call for westward-facing surfaces 355 365 CALL lsm_energy_balance( .FALSE., 3 ) 356 CALL lsm_soil_model( .FALSE., 3, . FALSE. )366 CALL lsm_soil_model( .FALSE., 3, .TRUE. ) 357 367 358 368 CALL cpu_log( log_point(54), 'land_surface', 'stop' ) -
palm/trunk/SOURCE/write_var_list.f90
r2776 r2818 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Added spinup_time to allow for restarts with spinup in precursor run. 28 ! 29 ! 2776 2018-01-31 10:44:42Z Giersch 27 30 ! Variable synthetic_turbulence_generator has been abbreviated 28 31 ! … … 268 271 269 272 270 binary_version = '4. 5'273 binary_version = '4.6' 271 274 272 275 WRITE ( 14 ) binary_version … … 601 604 WRITE ( 14 ) 'simulated_time ' 602 605 WRITE ( 14 ) simulated_time 606 WRITE ( 14 ) 'spinup_time ' 607 WRITE ( 14 ) spinup_time 603 608 WRITE ( 14 ) 'surface_heatflux ' 604 609 WRITE ( 14 ) surface_heatflux
Note: See TracChangeset
for help on using the changeset viewer.