Changeset 102 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Jul 27, 2007 9:09:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r98 r102 7 7 ! Actual revisions: 8 8 ! ----------------- 9 ! 9 ! Flux initialization in case of coupled runs, +momentum fluxes at top boundary 10 10 ! 11 11 ! Former revisions: … … 102 102 ts(nys-1:nyn+1,nxl-1:nxr+1), tswst_1(nys-1:nyn+1,nxl-1:nxr+1), & 103 103 us(nys-1:nyn+1,nxl-1:nxr+1), usws_1(nys-1:nyn+1,nxl-1:nxr+1), & 104 vsws_1(nys-1:nyn+1,nxl-1:nxr+1), z0(nys-1:nyn+1,nxl-1:nxr+1) ) 104 uswst_1(nys-1:nyn+1,nxl-1:nxr+1), & 105 vsws_1(nys-1:nyn+1,nxl-1:nxr+1), & 106 vswst_1(nys-1:nyn+1,nxl-1:nxr+1), z0(nys-1:nyn+1,nxl-1:nxr+1) ) 105 107 106 108 IF ( timestep_scheme(1:5) /= 'runge' ) THEN … … 111 113 tswst_2(nys-1:nyn+1,nxl-1:nxr+1), & 112 114 usws_2(nys-1:nyn+1,nxl-1:nxr+1), & 115 uswst_2(nys-1:nyn+1,nxl-1:nxr+1), & 116 vswst_2(nys-1:nyn+1,nxl-1:nxr+1), & 113 117 vsws_2(nys-1:nyn+1,nxl-1:nxr+1) ) 114 118 ENDIF … … 260 264 tswst_m => tswst_1; tswst => tswst_2 261 265 usws_m => usws_1; usws => usws_2 266 uswst_m => uswst_1; uswst => uswst_2 262 267 vsws_m => vsws_1; vsws => vsws_2 268 vswst_m => vswst_1; vswst => vswst_2 263 269 e_m => e_1; e => e_2; e_p => e_3; te_m => e_3 264 270 kh_m => kh_1; kh => kh_2 … … 287 293 tswst => tswst_1 288 294 usws => usws_1 295 uswst => uswst_1 289 296 vsws => vsws_1 297 vswst => vswst_1 290 298 e => e_1; e_p => e_2; te_m => e_3; e_m => e_3 291 299 kh => kh_1 … … 381 389 vsws = 0.0 382 390 ENDIF 391 uswst = top_momentumflux_u 392 vswst = top_momentumflux_v 383 393 384 394 ! … … 494 504 ! e = (u*/cm)**2 at k=nzb+1 495 505 ENDIF 496 e = 0.0 497 rif = 0.0 498 ts = 0.0 499 us = 0.0 500 usws = 0.0 501 vsws = 0.0 506 e = 0.0 507 rif = 0.0 508 ts = 0.0 509 us = 0.0 510 usws = 0.0 511 uswst = top_momentumflux_u 512 vsws = 0.0 513 vswst = top_momentumflux_v 502 514 IF ( humidity .OR. passive_scalar ) qs = 0.0 503 515 … … 617 629 saswst = top_salinityflux 618 630 ENDIF 619 ENDIF 631 ENDIF 632 633 ! 634 !-- Initialization in case of a coupled model run 635 IF ( coupling_mode == 'ocean_to_atmosphere' ) THEN 636 tswst = 0.0 637 IF ( ASSOCIATED( tswst_m ) ) tswst_m = tswst 638 ENDIF 620 639 621 640 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.