Changeset 3646 for palm/trunk/SOURCE/data_output_2d.f90
- Timestamp:
- Dec 28, 2018 5:58:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_2d.f90
r3637 r3646 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix: use time_since_reference_point instead of simulated_time (relevant 28 ! when using wall/soil spinup) 29 ! 30 ! 3637 2018-12-20 01:51:36Z knoop 27 31 ! Implementation of the PALM module interface 28 32 ! … … 298 302 ibc_uv_b, io_blocks, io_group, message_string, & 299 303 ntdim_2d_xy, ntdim_2d_xz, ntdim_2d_yz, & 300 psolver, section, simulated_time,&304 psolver, section, & 301 305 time_since_reference_point 302 306 … … 510 514 ntdim_2d_xy(av) ) THEN 511 515 WRITE ( message_string, * ) 'Output of xy cross-sections is not ', & 512 'given at t=', simulated_time, '&because the', &516 'given at t=', time_since_reference_point, 's because the', & 513 517 ' maximum number of output time levels is exceeded.' 514 518 CALL message( 'data_output_2d', 'PA0384', 0, 1, 0, 6, 0 ) … … 519 523 ntdim_2d_xz(av) ) THEN 520 524 WRITE ( message_string, * ) 'Output of xz cross-sections is not ', & 521 'given at t=', simulated_time, '&because the', &525 'given at t=', time_since_reference_point, 's because the', & 522 526 ' maximum number of output time levels is exceeded.' 523 527 CALL message( 'data_output_2d', 'PA0385', 0, 1, 0, 6, 0 ) … … 528 532 ntdim_2d_yz(av) ) THEN 529 533 WRITE ( message_string, * ) 'Output of yz cross-sections is not ', & 530 'given at t=', simulated_time, '&because the', &534 'given at t=', time_since_reference_point, 's because the', & 531 535 ' maximum number of output time levels is exceeded.' 532 536 CALL message( 'data_output_2d', 'PA0386', 0, 1, 0, 6, 0 ) … … 697 701 CASE ( 'pc_xy', 'pc_xz', 'pc_yz' ) ! particle concentration 698 702 IF ( av == 0 ) THEN 699 IF ( simulated_time>= particle_advection_start ) THEN703 IF ( time_since_reference_point >= particle_advection_start ) THEN 700 704 tend = prt_count 701 705 ! CALL exchange_horiz( tend, nbgp ) … … 722 726 CASE ( 'pr_xy', 'pr_xz', 'pr_yz' ) ! mean particle radius (effective radius) 723 727 IF ( av == 0 ) THEN 724 IF ( simulated_time>= particle_advection_start ) THEN728 IF ( time_since_reference_point >= particle_advection_start ) THEN 725 729 DO i = nxl, nxr 726 730 DO j = nys, nyn … … 844 848 CASE ( 'ql_vp_xy', 'ql_vp_xz', 'ql_vp_yz' ) 845 849 IF ( av == 0 ) THEN 846 IF ( simulated_time>= particle_advection_start ) THEN850 IF ( time_since_reference_point >= particle_advection_start ) THEN 847 851 DO i = nxl, nxr 848 852 DO j = nys, nyn … … 1422 1426 !-- In case of parallel output, this is only done by PE0 1423 1427 !-- to increase the performance. 1424 IF ( simulated_time/= do2d_xy_last_time(av) ) THEN1428 IF ( time_since_reference_point /= do2d_xy_last_time(av) ) THEN 1425 1429 do2d_xy_time_count(av) = do2d_xy_time_count(av) + 1 1426 do2d_xy_last_time(av) = simulated_time1430 do2d_xy_last_time(av) = time_since_reference_point 1427 1431 IF ( myid == 0 ) THEN 1428 1432 IF ( .NOT. data_output_2d_on_each_pe & … … 1611 1615 !-- In case of parallel output, this is only done by PE0 1612 1616 !-- to increase the performance. 1613 IF ( simulated_time/= do2d_xz_last_time(av) ) THEN1617 IF ( time_since_reference_point /= do2d_xz_last_time(av) ) THEN 1614 1618 do2d_xz_time_count(av) = do2d_xz_time_count(av) + 1 1615 do2d_xz_last_time(av) = simulated_time1619 do2d_xz_last_time(av) = time_since_reference_point 1616 1620 IF ( myid == 0 ) THEN 1617 1621 IF ( .NOT. data_output_2d_on_each_pe & … … 1829 1833 !-- In case of parallel output, this is only done by PE0 1830 1834 !-- to increase the performance. 1831 IF ( simulated_time/= do2d_yz_last_time(av) ) THEN1835 IF ( time_since_reference_point /= do2d_yz_last_time(av) ) THEN 1832 1836 do2d_yz_time_count(av) = do2d_yz_time_count(av) + 1 1833 do2d_yz_last_time(av) = simulated_time1837 do2d_yz_last_time(av) = time_since_reference_point 1834 1838 IF ( myid == 0 ) THEN 1835 1839 IF ( .NOT. data_output_2d_on_each_pe &
Note: See TracChangeset
for help on using the changeset viewer.