Changeset 240 for palm/trunk/SOURCE/header.f90
- Timestamp:
- Feb 18, 2009 5:50:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r237 r240 5 5 ! ----------------- 6 6 ! Output of cluster_size 7 ! +dp_external, dp_level_b, dp_smooth, dpdxy 8 ! +canyon_height, canyon_width_x, canyon_width_y, canyon_wall_left, 9 ! canyon_wall_south 7 10 ! 8 11 ! Former revisions: … … 99 102 CHARACTER (LEN=85) :: roben, runten 100 103 101 INTEGER :: av, bh, blx, bly, bxl, bxr, byn, bys, i, ihost, io, j, l, ll 104 INTEGER :: av, bh, blx, bly, bxl, bxr, byn, bys, ch, cwx, cwy, cxl, cxr, & 105 cyn, cys, i, ihost, io, j, l, ll 102 106 REAL :: cpuseconds_per_simulated_second 103 107 … … 285 289 ENDIF 286 290 IF ( passive_scalar ) WRITE ( io, 134 ) 287 IF ( conserve_volume_flow ) WRITE ( io, 150 ) 291 IF ( conserve_volume_flow ) THEN 292 WRITE ( io, 150 ) 293 ELSEIF ( dp_external ) THEN 294 IF ( dp_smooth ) THEN 295 WRITE ( io, 151 ) dpdxy, dp_level_b, ', vertically smoothed.' 296 ELSE 297 WRITE ( io, 151 ) dpdxy, dp_level_b, '.' 298 ENDIF 299 ENDIF 288 300 WRITE ( io, 99 ) 289 301 … … 381 393 WRITE ( io, 271 ) building_length_x, building_length_y, & 382 394 building_height, bxl, bxr, bys, byn 395 396 CASE ( 'single_street_canyon' ) 397 ch = NINT( canyon_height / dz ) 398 IF ( canyon_width_x /= 9999999.9 ) THEN 399 ! 400 !-- Street canyon in y direction 401 cwx = NINT( canyon_width_x / dx ) 402 IF ( canyon_wall_left == 9999999.9 ) THEN 403 canyon_wall_left = ( nx + 1 - cwx ) / 2 * dx 404 ENDIF 405 cxl = NINT( canyon_wall_left / dx ) 406 cxr = cxl + cwx 407 WRITE ( io, 272 ) 'y', canyon_height, ch, 'u', cxl, cxr 408 409 ELSEIF ( canyon_width_y /= 9999999.9 ) THEN 410 ! 411 !-- Street canyon in x direction 412 cwy = NINT( canyon_width_y / dy ) 413 IF ( canyon_wall_south == 9999999.9 ) THEN 414 canyon_wall_south = ( ny + 1 - cwy ) / 2 * dy 415 ENDIF 416 cys = NINT( canyon_wall_south / dy ) 417 cyn = cys + cwy 418 WRITE ( io, 272 ) 'x', canyon_height, ch, 'v', cys, cyn 419 ENDIF 383 420 384 421 END SELECT … … 1370 1407 150 FORMAT (' --> Volume flow at the right and north boundary will be ', & 1371 1408 'conserved') 1409 151 FORMAT (' --> External pressure gradient directly prescribed by the user:'/, & 1410 2(1X,E12.5),'Pa/m', & 1411 ' in x/y direction starting from dp_level_b =', F6.3, 'm', & 1412 A /) 1372 1413 200 FORMAT (//' Run time and time step information:'/ & 1373 1414 ' ----------------------------------'/) … … 1407 1448 ' Horizontal index bounds (l/r/s/n): ',I4,' / ',I4,' / ',I4, & 1408 1449 ' / ',I4) 1450 272 FORMAT ( ' Single quasi-2D street canyon of infinite length in ',A, & 1451 ' direction' / & 1452 ' Canyon height: ', F6.2, 'm, ch = ', I4, '.' / & 1453 ' Canyon position (',A,'-walls): cxl = ', I4,', cxr = ', I4, '.') 1409 1454 280 FORMAT (//' Vegetation canopy (drag) model:'/ & 1410 1455 ' ------------------------------'// &
Note: See TracChangeset
for help on using the changeset viewer.