Changeset 4848
- Timestamp:
- Jan 21, 2021 3:51:51 PM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4845 r4848 24 24 ! ----------------- 25 25 ! $Id$ 26 ! replaced use_syn_turb_gen by syn_turb_gen 27 ! 28 ! 4845 2021-01-18 11:15:37Z raasch 26 29 ! removed allocation and initialization of arrays required for radiation boundary conditions 27 30 ! … … 233 236 234 237 USE synthetic_turbulence_generator_mod, & 235 ONLY: stg_init , use_syn_turb_gen238 ONLY: stg_init 236 239 237 240 USE surface_layer_fluxes_mod, & … … 1830 1833 ! 1831 1834 !-- Initialization of synthetic turbulence generator 1832 IF ( use_syn_turb_gen ) CALL stg_init1835 IF ( syn_turb_gen ) CALL stg_init 1833 1836 ! 1834 1837 !-- Initializing actions for all other modules -
palm/trunk/SOURCE/init_pegrid.f90
r4648 r4848 21 21 ! ----------------- 22 22 ! $Id$ 23 ! replaced use_syn_turb_gen by syn_turb_gen 24 ! 25 ! 4648 2020-08-25 07:52:08Z raasch 23 26 ! file re-formatted to follow the PALM coding standard 24 27 ! … … 95 98 ONLY: coupling_mode, coupling_topology, gathered_size, momentum_advec, & 96 99 outflow_source_plane, recycling_width, scalar_advec, subdomain_size, & 97 turbulent_inflow, turbulent_outflow, y_shift100 syn_turb_gen, turbulent_inflow, turbulent_outflow, y_shift 98 101 99 102 USE grid_variables, & … … 123 126 124 127 USE synthetic_turbulence_generator_mod, & 125 ONLY: id_stg_left, id_stg_north, id_stg_right, id_stg_south , use_syn_turb_gen128 ONLY: id_stg_left, id_stg_north, id_stg_right, id_stg_south 126 129 #endif 127 130 … … 1158 1161 !-- Please note, if no forcing or nesting is applied, the generator is applied only at the left 1159 1162 !-- lateral boundary. 1160 IF ( use_syn_turb_gen ) THEN1163 IF ( syn_turb_gen ) THEN 1161 1164 IF ( bc_dirichlet_l ) THEN 1162 1165 id_stg_left_l = myidx -
palm/trunk/SOURCE/read_restart_data_mod.f90
r4845 r4848 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: removed syn_turb_gen from restart files 28 ! 29 ! 4845 2021-01-18 11:15:37Z raasch 27 30 ! arrays removed that were required for radiation boundary conditions 28 31 ! … … 42 45 ! Bugfix in allocation of hom and hom_sum in case of mpi-io restart when 43 46 ! chemistry or salsa are employed 44 ! 47 ! 45 48 ! 4580 2020-06-29 07:54:21Z raasch 46 49 ! data handling with MPI-IO for cyclic-fill added (so far only for global data) 47 ! 50 ! 48 51 ! 4564 2020-06-12 14:03:36Z raasch 49 52 ! Vertical nesting method of Huq et al. (2019) removed 50 ! 53 ! 51 54 ! 4539 2020-05-18 14:05:17Z raasch 52 55 ! location message added 53 ! 56 ! 54 57 ! 4536 2020-05-17 17:24:13Z raasch 55 58 ! binary version incremented 56 ! 59 ! 57 60 ! 4534 2020-05-14 18:35:22Z raasch 58 61 ! adjustments for I/O on reduced number of cores using shared memory MPI 59 ! 62 ! 60 63 ! 4518 2020-05-04 15:44:28Z suehring 61 64 ! Move input of diagnostic output quantities to doq_rrd_local 62 ! 65 ! 63 66 ! 4517 2020-05-03 14:29:30Z raasch 64 67 ! qsurf and ssurf added 65 ! 68 ! 66 69 ! 4498 2020-04-15 14:26:31Z raasch 67 70 ! argument removed from rd_mpi_io_open 68 ! 71 ! 69 72 ! 4496 2020-04-15 08:37:26Z raasch 70 73 ! bugfix: MPI barrier removed, coupling character added to input filename 71 ! 74 ! 72 75 ! 4495 2020-04-13 20:11:20Z raasch 73 76 ! restart data handling with MPI-IO added 74 ! 77 ! 75 78 ! 4435 2020-03-03 10:38:41Z raasch 76 79 ! bugfix for message that reports about files that are read from in case that the virtual PE grid 77 80 ! has chenged (in case of large number of files format was exceeded), detailed messages about the 78 81 ! files are now output to the debug file 79 ! 82 ! 80 83 ! 4431 2020-02-27 23:23:01Z gronemeier 81 84 ! added u_center_av, v_center_av, wspeed_av … … 283 286 READ ( 13 ) version_on_file 284 287 285 binary_version_global = '5. 1'288 binary_version_global = '5.2' 286 289 IF ( TRIM( version_on_file ) /= TRIM( binary_version_global ) ) THEN 287 290 WRITE( message_string, * ) 'version mismatch concerning ', & … … 1093 1096 CALL rrd_mpi_io( 'surface_scalarflux', surface_scalarflux ) 1094 1097 CALL rrd_mpi_io( 'surface_waterflux', surface_waterflux ) 1095 CALL rrd_mpi_io( 'syn_turb_gen', syn_turb_gen )1096 1098 CALL rrd_mpi_io( 'time_coupling', time_coupling ) 1097 1099 CALL rrd_mpi_io( 'time_disturb', time_disturb ) -
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r4843 r4848 25 25 ! ----------------- 26 26 ! $Id$ 27 ! replaced use_syn_turb_gen by syn_turb_gen 28 ! 29 ! 4843 2021-01-15 15:22:11Z raasch 27 30 ! local namelist parameter added to switch off the module although the respective module namelist 28 31 ! appears in the namelist file … … 365 368 LOGICAL :: parametrize_inflow_turbulence = .FALSE. !< flag indicating that inflow turbulence is either read from file 366 369 !< (.FALSE.) or if it parametrized 367 LOGICAL :: use_syn_turb_gen = .FALSE. !< switch to use synthetic turbulence generator368 370 LOGICAL :: velocity_seed_initialized = .FALSE. !< true after first call of stg_main 369 371 … … 519 521 parametrize_inflow_turbulence, & 520 522 time_stg_adjust, & 521 time_stg_call, & 522 use_syn_turb_gen 523 time_stg_call 523 524 524 525 … … 533 534 SUBROUTINE stg_check_parameters 534 535 535 IF ( .NOT. use_syn_turb_gen .AND. .NOT. rans_mode .AND. &536 IF ( .NOT. syn_turb_gen .AND. .NOT. rans_mode .AND. & 536 537 nesting_offline ) THEN 537 538 message_string = 'Synthetic turbulence generator is required ' // & … … 540 541 ENDIF 541 542 542 IF ( .NOT. use_syn_turb_gen .AND. child_domain &543 IF ( .NOT. syn_turb_gen .AND. child_domain & 543 544 .AND. rans_mode_parent .AND. .NOT. rans_mode ) THEN 544 545 message_string = 'Synthetic turbulence generator is required when nesting is applied ' // & … … 547 548 ENDIF 548 549 549 IF ( use_syn_turb_gen ) THEN550 IF ( syn_turb_gen ) THEN 550 551 551 552 IF ( child_domain .AND. .NOT. rans_mode .AND. .NOT. rans_mode_parent ) THEN … … 613 614 ! 614 615 !-- Write synthetic turbulence generator Header 615 WRITE( io, 1 ) 616 IF ( use_syn_turb_gen ) THEN 617 WRITE( io, 2 ) 618 ELSE 619 WRITE( io, 3 ) 620 ENDIF 621 622 IF ( parametrize_inflow_turbulence ) THEN 623 WRITE( io, 4 ) dt_stg_adjust 624 ELSE 625 WRITE( io, 5 ) 616 IF ( syn_turb_gen ) THEN 617 WRITE( io, 1 ) 618 IF ( parametrize_inflow_turbulence ) THEN 619 WRITE( io, 4 ) dt_stg_adjust 620 ELSE 621 WRITE( io, 5 ) 622 ENDIF 626 623 ENDIF 627 624 628 625 1 FORMAT (//' Synthetic turbulence generator information:'/ & 629 626 ' ------------------------------------------'/) 630 2 FORMAT (' synthetic turbulence generator is switched on')631 3 FORMAT (' synthetic turbulence generator is switched off')632 627 4 FORMAT (' imposed turbulence statistics are parametrized and ajdusted to boundary-layer development each ', F8.2, ' s' ) 633 628 5 FORMAT (' imposed turbulence is read from file' ) … … 1228 1223 dt_stg_adjust, & 1229 1224 dt_stg_call, & 1230 switch_off_module, & 1231 use_syn_turb_gen 1225 switch_off_module 1232 1226 1233 1227 … … 1278 1272 READ ( 13 ) time_stg_call 1279 1273 1280 CASE ( 'use_syn_turb_gen' )1281 READ ( 13 ) use_syn_turb_gen1282 1283 1274 CASE DEFAULT 1284 1275 … … 1300 1291 CALL rrd_mpi_io( 'time_stg_adjust', time_stg_adjust ) 1301 1292 CALL rrd_mpi_io( 'time_stg_call', time_stg_call ) 1302 CALL rrd_mpi_io( 'use_syn_turb_gen', use_syn_turb_gen )1303 1293 1304 1294 END SUBROUTINE stg_rrd_global_mpi … … 1320 1310 WRITE ( 14 ) time_stg_call 1321 1311 1322 CALL wrd_write_string( 'use_syn_turb_gen' )1323 WRITE ( 14 ) use_syn_turb_gen1324 1325 1312 ELSEIF ( restart_data_format_output(1:3) == 'mpi' ) THEN 1326 1313 1327 1314 CALL wrd_mpi_io( 'time_stg_adjust', time_stg_adjust ) 1328 1315 CALL wrd_mpi_io( 'time_stg_call', time_stg_call ) 1329 CALL wrd_mpi_io( 'use_syn_turb_gen', use_syn_turb_gen )1330 1316 1331 1317 ENDIF -
palm/trunk/SOURCE/time_integration.f90
r4828 r4848 25 25 ! ----------------- 26 26 ! $Id$ 27 ! replaced use_syn_turb_gen by syn_turb_gen 28 ! 29 ! 4828 2021-01-05 11:21:41Z Giersch 27 30 ! Remove leftover write statement from debugging 28 31 ! … … 46 49 ! 4668 2020-09-09 13:00:16Z pavelkrc 47 50 ! Improve debug messages during timestepping 48 ! 51 ! 49 52 ! 4581 2020-06-29 08:49:58Z suehring 50 53 ! Omit explicit pressure forcing via geostrophic wind components in case of 51 54 ! mesoscale nesting. 52 ! 55 ! 53 56 ! 4578 2020-06-25 15:43:32Z gronemeier 54 57 ! bugfix: removed unused variables … … 308 311 skip_time_do2d_yz, skip_time_do3d, skip_time_domask, skip_time_dopr, & 309 312 skip_time_data_output_av, sloping_surface, stop_dt, surface_output, & 313 syn_turb_gen, & 310 314 terminate_coupled, terminate_run, timestep_scheme, time_coupling, time_do2d_xy, & 311 315 time_do2d_xz, time_do2d_yz, time_do3d, time_domask, time_dopr, time_dopr_av, & … … 421 425 USE synthetic_turbulence_generator_mod, & 422 426 ONLY: dt_stg_call, dt_stg_adjust, parametrize_inflow_turbulence, stg_adjust, stg_main, & 423 time_stg_adjust, time_stg_call , use_syn_turb_gen427 time_stg_adjust, time_stg_call 424 428 425 429 USE turbulence_closure_mod, & … … 926 930 ! 927 931 !-- Impose a turbulent inflow using synthetic generated turbulence. 928 IF ( use_syn_turb_gen .AND.&932 IF ( syn_turb_gen .AND. & 929 933 intermediate_timestep_count == intermediate_timestep_count_max ) THEN 930 934 CALL cpu_log( log_point(57), 'synthetic_turbulence_gen', 'start' ) … … 1244 1248 !-- information, update the time counter and if required, adjust the 1245 1249 !-- STG to new atmospheric conditions. 1246 IF ( use_syn_turb_gen ) THEN1250 IF ( syn_turb_gen ) THEN 1247 1251 IF ( parametrize_inflow_turbulence ) THEN 1248 1252 time_stg_adjust = time_stg_adjust + dt_3d -
palm/trunk/SOURCE/write_restart_data_mod.f90
r4845 r4848 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix: removed syn_turb_gen from restart files 27 ! 28 ! 4845 2021-01-18 11:15:37Z raasch 26 29 ! arrays removed that were required for radiation boundary conditions 27 30 ! … … 34 37 ! 4671 2020-09-09 20:27:58Z pavelkrc 35 38 ! Implementation of downward facing USM and LSM surfaces 36 ! 39 ! 37 40 ! 4564 2020-06-12 14:03:36Z raasch 38 41 ! Vertical nesting method of Huq et al. (2019) removed 39 ! 42 ! 40 43 ! 4536 2020-05-17 17:24:13Z raasch 41 44 ! binary version incremented 42 ! 45 ! 43 46 ! 4535 2020-05-15 12:07:23Z raasch 44 47 ! bugfix for restart data format query 45 ! 48 ! 46 49 ! 4514 2020-04-30 16:29:59Z suehring 47 50 ! qsurf and ssurf added 48 ! 51 ! 49 52 ! 4495 2020-04-13 20:11:20Z raasch 50 53 ! restart data handling with MPI-IO added 51 ! 54 ! 52 55 ! 4489 2020-04-04 10:54:08Z raasch 53 56 ! file re-formatted to follow the PALM coding standard … … 198 201 INTEGER :: i !< loop index 199 202 200 binary_version_global = '5. 1'203 binary_version_global = '5.2' 201 204 202 205 IF ( restart_data_format_output == 'fortran_binary' ) THEN … … 1076 1079 CALL wrd_mpi_io( 'surface_scalarflux', surface_scalarflux ) 1077 1080 CALL wrd_mpi_io( 'surface_waterflux', surface_waterflux ) 1078 CALL wrd_mpi_io( 'syn_turb_gen', syn_turb_gen )1079 1081 CALL wrd_mpi_io( 'time_coupling', time_coupling ) 1080 1082 CALL wrd_mpi_io( 'time_disturb', time_disturb )
Note: See TracChangeset
for help on using the changeset viewer.