Changeset 2259
- Timestamp:
- Jun 8, 2017 9:09:11 AM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/Makefile
r2256 r2259 25 25 # ----------------- 26 26 # $Id$ 27 # Implemented synthetic turbulence generator 28 # 29 # 2256 2017-06-07 13:58:08Z suehring 27 30 # Remove ring dependency in init_pegrid 28 31 # … … 366 369 set_slicer_attributes_dvrp.f90 singleton_mod.f90 sor.f90 spectra_mod.f90 \ 367 370 subsidence_mod.f90 sum_up_3d_data.f90 surface_mod.f90 \ 368 surface_coupler.f90 surface_layer_fluxes_mod.f90 swap_timelevel.f90 temperton_fft_mod.f90 \ 371 surface_coupler.f90 surface_layer_fluxes_mod.f90 swap_timelevel.f90 \ 372 synthetic_turbulence_generator_mod.f90 temperton_fft_mod.f90 \ 369 373 time_integration.f90 time_to_string.f90 timestep.f90 \ 370 374 timestep_scheme_steering.f90 transpose.f90 tridia_solver_mod.f90 \ … … 438 442 netcdf_interface_mod.o posix_calls_from_fortran.o 439 443 check_parameters.o: modules.o mod_kinds.o land_surface_model_mod.o \ 440 netcdf_interface_mod.o plant_canopy_model_mod.o pmc_interface_mod.o radiation_model_mod.o \441 spectra_mod.o subsidence_mod.o microphysics_mod.o wind_turbine_model_mod.o \442 urban_surface_mod.o444 microphysics_mod.o netcdf_interface_mod.o plant_canopy_model_mod.o pmc_interface_mod.o \ 445 radiation_model_mod.o spectra_mod.o subsidence_mod.o synthetic_turbulence_generator_mod.o \ 446 wind_turbine_model_mod.o urban_surface_mod.o 443 447 close_file.o: modules.o mod_kinds.o netcdf_interface_mod.o 444 448 compute_vpt.o: modules.o mod_kinds.o … … 496 500 init_masks.o: modules.o mod_kinds.o netcdf_interface_mod.o 497 501 init_ocean.o: modules.o eqn_state_seawater.o mod_kinds.o 498 init_pegrid.o: modules.o mod_kinds.o spectra_mod.o 502 init_pegrid.o: modules.o mod_kinds.o spectra_mod.o synthetic_turbulence_generator_mod.o 499 503 init_pt_anomaly.o: modules.o mod_kinds.o 500 504 init_rankine.o: modules.o mod_kinds.o … … 547 551 parin.o: modules.o cpulog_mod.o land_surface_model_mod.o mod_kinds.o netcdf_interface_mod.o \ 548 552 plant_canopy_model_mod.o pmc_interface_mod.o progress_bar_mod.o spectra_mod.o \ 549 radiation_model_mod.o microphysics_mod.o virtual_flight_mod.o wind_turbine_model_mod.o 553 synthetic_turbulence_generator_mod.o radiation_model_mod.o microphysics_mod.o \ 554 virtual_flight_mod.o wind_turbine_model_mod.o 550 555 plant_canopy_model_mod.o: modules.o mod_kinds.o surface_mod.o 551 556 pmc_interface_mod.o: modules.o mod_kinds.o pmc_child_mod.o pmc_general_mod.o \ … … 596 601 swap_timelevel.o: modules.o cpulog_mod.o mod_kinds.o land_surface_model_mod.o \ 597 602 pmc_interface_mod.o urban_surface_mod.o 603 synthetic_turbulence_generator_mod.o: modules.o mod_kinds.o 598 604 temperton_fft_mod.o: modules.o mod_kinds.o 599 605 time_integration.o: modules.o advec_ws.o buoyancy.o calc_mean_profile.o \ … … 601 607 ls_forcing_mod.o mod_kinds.o nudging_mod.o pmc_interface_mod.o production_e.o \ 602 608 prognostic_equations.o progress_bar_mod.o radiation_model_mod.o \ 603 spectra_mod.o user_actions.o microphysics_mod.o surface_layer_fluxes_mod.o surface_mod.o \ 609 spectra_mod.o user_actions.o microphysics_mod.o synthetic_turbulence_generator_mod.o \ 610 surface_layer_fluxes_mod.o surface_mod.o \ 604 611 urban_surface_mod.o virtual_flight_mod.o wind_turbine_model_mod.o 605 612 time_to_string.o: mod_kinds.o -
palm/trunk/SOURCE/check_parameters.f90
r2251 r2259 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! 23 23 ! 24 24 ! Former revisions: 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2251 2017-06-06 15:10:46Z Giersch 27 30 ! 28 31 ! 2250 2017-06-06 15:07:12Z Giersch … … 499 502 USE subsidence_mod 500 503 USE statistics 504 USE synthetic_turbulence_generator_mod, & 505 ONLY: stg_check_parameters 501 506 USE transpose_indices 502 507 USE urban_surface_mod, & … … 1207 1212 ENDIF 1208 1213 1214 ! 1215 !-- When synthetic turbulence generator is used, peform addtional checks 1216 IF ( synthetic_turbulence_generator ) CALL stg_check_parameters 1209 1217 ! 1210 1218 !-- When plant canopy model is used, peform addtional checks -
palm/trunk/SOURCE/header.f90
r2258 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2258 2017-06-08 07:55:13Z suehring 27 30 ! Bugfix, add pre-preprocessor directives to enable non-parrallel mode 28 31 ! … … 356 359 USE plant_canopy_model_mod, & 357 360 ONLY: pcm_header, plant_canopy 358 359 #if defined( __parallel ) 361 360 362 USE pmc_handle_communicator, & 361 363 ONLY: pmc_get_model_info 362 #endif363 364 364 365 USE pmc_interface, & … … 373 374 USE surface_mod, & 374 375 ONLY: surf_def_h 376 377 USE synthetic_turbulence_generator_mod, & 378 ONLY: stg_header 375 379 376 380 IMPLICIT NONE … … 552 556 WRITE ( io, 600 ) TRIM( nesting_mode ), & 553 557 TRIM( nesting_datatransfer_mode ) 554 #if defined( __parallel )555 558 CALL pmc_get_model_info( ncpl = ncpl, cpl_id = my_cpl_id ) 556 559 … … 570 573 TRIM( cpl_name ) 571 574 ENDDO 572 #endif573 575 ENDIF 574 576 WRITE ( io, 99 ) … … 988 990 ENDIF 989 991 ENDIF 992 993 IF ( synthetic_turbulence_generator ) CALL stg_header ( io ) 990 994 991 995 IF ( plant_canopy ) CALL pcm_header ( io ) -
palm/trunk/SOURCE/init_3d_model.f90
r2252 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2252 2017-06-07 09:35:37Z knoop 27 30 ! rho_air now depending on surface_pressure even in Boussinesq mode 28 31 ! … … 390 393 sums_l_l, sums_up_fraction_l, sums_wsts_bc_l, ts_value, & 391 394 weight_pres, weight_substep 392 395 396 USE synthetic_turbulence_generator_mod, & 397 ONLY: stg_init, use_synthetic_turbulence_generator 398 393 399 USE surface_layer_fluxes_mod, & 394 400 ONLY: init_surface_layer_fluxes … … 1057 1063 1058 1064 ! 1065 !-- Overwrite initial profiles in case of synthetic turbulence generator 1066 IF( use_synthetic_turbulence_generator ) THEN 1067 CALL stg_init 1068 ENDIF 1069 1070 ! 1059 1071 !-- Use constructed initial profiles (velocity constant with height, 1060 1072 !-- temperature profile with constant gradient) … … 1538 1550 IF ( passive_scalar ) ts_m = 0.0_wp 1539 1551 IF ( ocean ) tsa_m = 0.0_wp 1552 ! 1553 !-- Initialize synthetic turbulence generator in case of restart. 1554 IF ( TRIM( initializing_actions ) == 'read_restart_data' .AND. & 1555 use_synthetic_turbulence_generator ) CALL stg_init 1540 1556 1541 1557 CALL location_message( 'finished', .TRUE. ) -
palm/trunk/SOURCE/init_pegrid.f90
r2238 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2238 2017-05-31 16:49:16Z suehring 27 30 ! Remove unnecessary module load of pmc_interface 28 31 ! … … 209 212 USE spectra_mod, & 210 213 ONLY: calculate_spectra, dt_dosp 214 215 USE synthetic_turbulence_generator_mod, & 216 ONLY: use_synthetic_turbulence_generator 211 217 212 218 USE transpose_indices, & … … 423 429 !-- 1. transposition z --> x 424 430 !-- This transposition is not neccessary in case of a 1d-decomposition along x 425 IF ( psolver == 'poisfft' .OR. calculate_spectra ) THEN 431 IF ( psolver == 'poisfft' .OR. calculate_spectra .OR. & 432 use_synthetic_turbulence_generator ) THEN 426 433 427 434 IF ( pdims(2) /= 1 ) THEN -
palm/trunk/SOURCE/modules.f90
r2256 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2256 2017-06-07 13:58:08Z suehring 27 30 ! Change default value of zeta_min to -20 28 31 ! Increase dimension for wall_heatflux, etc. … … 1165 1168 LOGICAL :: stop_dt = .FALSE. !< 1166 1169 LOGICAL :: synchronous_exchange = .FALSE. !< 1170 LOGICAL :: synthetic_turbulence_generator = .FALSE. !< flag for synthetic turbulence generator module 1167 1171 LOGICAL :: terminate_run = .FALSE. !< 1168 1172 LOGICAL :: transpose_compute_overlap = .FALSE. !< -
palm/trunk/SOURCE/parin.f90
r2233 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2233 2017-05-30 18:08:54Z suehring 27 30 ! 28 31 ! 2232 2017-05-30 17:47:52Z suehring … … 315 318 USE statistics, & 316 319 ONLY: hom, hom_sum, pr_palm, region, statistic_regions 320 321 USE synthetic_turbulence_generator_mod, & 322 ONLY: stg_parin 317 323 318 324 USE urban_surface_mod, & … … 605 611 !-- if required 606 612 CALL flight_parin 607 613 ! 614 !-- Check if synthetic turbulence generator is used and read stg_par if 615 !-- required 616 CALL stg_parin 608 617 ! 609 618 !-- Read user-defined variables -
palm/trunk/SOURCE/read_var_list.f90
r2233 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2233 2017-05-30 18:08:54Z suehring 27 30 ! 28 31 ! 2232 2017-05-30 17:47:52Z suehring 29 32 ! Replace wall_qflux, wall_sflux by wall_humidityflux and wall_scalarflux; add 30 33 ! wall_salinityflux 31 ! +tunnel_height, tunnel_length, tunnel_width_x, tunnel_width_y, 34 ! +tunnel_height, tunnel_length, tunnel_width_x, tunnel_width_y, 32 35 ! tunnel_wall_depth 33 36 ! 34 37 ! 2042 2016-11-02 13:47:31Z suehring 35 38 ! Bugfix, read restart data for wall_heatflux, wall_qflux and wall_sflux 36 ! 39 ! 37 40 ! 2000 2016-08-20 18:09:15Z knoop 38 41 ! Forced header and separation lines into 80 columns 39 ! 42 ! 40 43 ! 1992 2016-08-12 15:14:59Z suehring 41 44 ! top_scalarflux added 42 ! 45 ! 43 46 ! 1960 2016-07-12 16:34:24Z suehring 44 47 ! Separate humidity and passive scalar … … 66 69 ! 1699 2015-10-29 08:02:35Z maronga 67 70 ! Bugfix: update of binary version from 3.9b to 4.0 was missing 68 ! 71 ! 69 72 ! 1691 2015-10-26 16:17:44Z maronga 70 ! Added output of most_method, constant_flux_layer, zeta_min, zeta_max. Removed 73 ! Added output of most_method, constant_flux_layer, zeta_min, zeta_max. Removed 71 74 ! output of prandtl_layer and rif_min, rif_max. 72 ! 75 ! 73 76 ! 1682 2015-10-07 23:56:08Z knoop 74 77 ! Code annotations made doxygen readable 75 ! 78 ! 76 79 ! 1615 2015-07-08 18:49:19Z suehring 77 80 ! Enable turbulent inflow for passive_scalar and humidity … … 79 82 ! 1585 2015-04-30 07:05:52Z maronga 80 83 ! Adapted for RRTMG 81 ! 84 ! 82 85 ! 1560 2015-03-06 10:48:54Z keck 83 86 ! +recycling_yshift 84 ! 87 ! 85 88 ! 1522 2015-01-14 10:53:12Z keck 86 89 ! added query for checking if the advection scheme in the restart run is the 87 90 ! same as the advection scheme in the corresponding initial run 88 ! 91 ! 89 92 ! 1502 2014-12-03 18:22:31Z kanani 90 ! Canopy module and parameters removed (parameters are always read from 93 ! Canopy module and parameters removed (parameters are always read from 91 94 ! canopy_par NAMELIST for initial and restart runs) 92 ! 95 ! 93 96 ! 1496 2014-12-02 17:25:50Z maronga 94 97 ! Renamed "radiation" -> "cloud_top_radiation" 95 ! 98 ! 96 99 ! 1484 2014-10-21 10:53:05Z kanani 97 100 ! Changes in the course of the canopy-model modularization: … … 118 121 ! 119 122 ! 1253 2013-11-07 10:48:12Z fricke 120 ! Bugfix: add ref_state to read_parts_of_var_list, otherwise ref_state 123 ! Bugfix: add ref_state to read_parts_of_var_list, otherwise ref_state 121 124 ! is zero for initializing_actions = 'cyclic_fill' 122 125 ! … … 142 145 ! 143 146 ! 1053 2012-11-13 17:11:03Z hoffmann 144 ! necessary expansions according to the two new prognostic equations (nr, qr) 147 ! necessary expansions according to the two new prognostic equations (nr, qr) 145 148 ! of the two-moment cloud physics scheme: 146 149 ! +bc_*_b, +bc_*_t, +bc_*_t_val, *_init, *_surface, *_surface_initial_change, … … 148 151 ! +surface_waterflux_* 149 152 ! 150 ! in addition, steering parameters parameters of the two-moment cloud physics 151 ! scheme: 153 ! in addition, steering parameters parameters of the two-moment cloud physics 154 ! scheme: 152 155 ! +cloud_scheme, +drizzle, +mu_constant, +mu_constant_value, +ventilation_effect 153 156 ! … … 191 194 !------------------------------------------------------------------------------! 192 195 SUBROUTINE read_var_list 193 196 194 197 195 198 USE arrays_3d, & … … 201 204 USE flight_mod, & 202 205 ONLY: flight_read_restart_data 203 206 204 207 USE grid_variables, & 205 208 ONLY: dx, dy … … 234 237 v_max, v_max_ijk, w_max, w_max_ijk 235 238 239 USE synthetic_turbulence_generator_mod, & 240 ONLY: stg_read_restart_data 236 241 237 242 IMPLICIT NONE … … 628 633 READ ( 13 ) s_vertical_gradient_level 629 634 CASE ( 's_vertical_gradient_level_ind' ) 630 READ ( 13 ) s_vertical_gradient_level_ind 635 READ ( 13 ) s_vertical_gradient_level_ind 631 636 CASE ( 'sa_init' ) 632 637 READ ( 13 ) sa_init … … 646 651 READ ( 13 ) surface_pressure 647 652 CASE ( 'surface_scalarflux' ) 648 READ ( 13 ) surface_scalarflux 653 READ ( 13 ) surface_scalarflux 649 654 CASE ( 'surface_waterflux' ) 650 READ ( 13 ) surface_waterflux 655 READ ( 13 ) surface_waterflux 651 656 CASE ( 'time_coupling' ) 652 657 READ ( 13 ) time_coupling … … 770 775 READ ( 13 ) vg_vertical_gradient_level_ind 771 776 CASE ( 'virtual_flight' ) 772 READ ( 13 ) virtual_flight 777 READ ( 13 ) virtual_flight 773 778 CASE ( 'volume_flow_area' ) 774 779 READ ( 13 ) volume_flow_area … … 805 810 WRITE( message_string, * ) 'unknown variable named "', & 806 811 TRIM( variable_chr ), '" found in', & 807 ' data from prior run on PE ', myid 812 ' data from prior run on PE ', myid 808 813 CALL message( 'read_var_list', 'PA0302', 1, 2, 0, 6, 0 ) 809 814 END SELECT … … 813 818 814 819 ENDDO 815 820 816 821 IF ( virtual_flight ) CALL flight_read_restart_data 817 822 823 IF ( synthetic_turbulence_generator ) CALL stg_read_restart_data 818 824 819 825 END SUBROUTINE read_var_list … … 828 834 !> run which used a smaller total domain or/and a different domain decomposition. 829 835 !------------------------------------------------------------------------------! 830 836 831 837 SUBROUTINE read_parts_of_var_list 832 838 … … 938 944 READ ( 13 ) statistic_regions_on_file 939 945 IF ( statistic_regions_on_file /= statistic_regions ) THEN 940 WRITE( message_string, * ) 'statistic regions on restart data file ',& 946 WRITE( message_string, * ) 'statistic regions on restart data file ',& 941 947 'differ from the current run', & 942 948 '&statistic regions on file = "', & … … 993 999 CALL message( 'read_parts_of_var_list', 'PA0100', & 994 1000 1, 2, 0, 6, 0 ) 995 END IF 996 1001 END IF 1002 997 1003 CASE ( 'nx' ) 998 1004 READ ( 13 ) nx_on_file … … 1012 1018 CALL message( 'read_parts_of_var_list', 'PA0101', & 1013 1019 1, 2, 0, 6, 0 ) 1014 END IF 1015 1020 END IF 1021 1016 1022 CASE DEFAULT 1017 1023 … … 1040 1046 !> Skipping the global control variables from restart-file (binary format) 1041 1047 !------------------------------------------------------------------------------! 1042 1048 1043 1049 SUBROUTINE skip_var_list 1044 1050 1045 1051 USE control_parameters, & 1046 1052 ONLY: virtual_flight 1047 1053 1048 1054 USE flight_mod, & 1049 1055 ONLY: flight_skip_var_list 1050 1056 1051 1057 IMPLICIT NONE 1052 1058 … … 1068 1074 ENDDO 1069 1075 ! 1070 !-- In case of virtual flights, skip also variables related to 1076 !-- In case of virtual flights, skip also variables related to 1071 1077 !-- this module. 1072 1078 IF ( virtual_flight ) CALL flight_skip_var_list 1073 1079 1074 1080 1075 1081 END SUBROUTINE skip_var_list -
palm/trunk/SOURCE/time_integration.f90
r2233 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2233 2017-05-30 18:08:54Z suehring 27 30 ! 28 31 ! 2232 2017-05-30 17:47:52Z suehring … … 373 376 USE urban_surface_mod, & 374 377 ONLY: usm_material_heat_model, usm_material_model, & 375 usm_radiation, usm_surface_energy_balance 378 usm_radiation, usm_surface_energy_balance 379 380 USE synthetic_turbulence_generator_mod, & 381 ONLY: stg_main, use_synthetic_turbulence_generator 376 382 377 383 USE user_actions_mod, & … … 665 671 !-- Impose a turbulent inflow using the recycling method 666 672 IF ( turbulent_inflow ) CALL inflow_turbulence 673 674 ! 675 !-- Impose a turbulent inflow using synthetic generated turbulence 676 IF ( use_synthetic_turbulence_generator ) THEN 677 CALL stg_main 678 ENDIF 667 679 668 680 ! -
palm/trunk/SOURCE/write_var_list.f90
r2233 r2259 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implemented synthetic turbulence generator 28 ! 29 ! 2233 2017-05-30 18:08:54Z suehring 27 30 ! 28 31 ! 2232 2017-05-30 17:47:52Z suehring 29 32 ! Replace wall_qflux, wall_sflux by wall_humidityflux and wall_scalarflux; add 30 33 ! wall_salinityflux 31 ! +tunnel_height, tunnel_lenth, tunnel_width_x, tunnel_width_y, 34 ! +tunnel_height, tunnel_lenth, tunnel_width_x, tunnel_width_y, 32 35 ! tunnel_wall_depth 33 ! 36 ! 34 37 ! 2042 2016-11-02 13:47:31Z suehring 35 38 ! Bugfix, write restart data for wall_heatflux, wall_qflux and wall_sflux 36 ! 39 ! 37 40 ! 2000 2016-08-20 18:09:15Z knoop 38 41 ! Forced header and separation lines into 80 columns 39 ! 42 ! 40 43 ! 1992 2016-08-12 15:14:59Z suehring 41 ! top scalarflux added 44 ! top scalarflux added 42 45 ! 43 46 ! 1957 2016-07-07 10:43:48Z suehring 44 47 ! flight module added 45 ! 48 ! 46 49 ! 1849 2016-04-08 11:33:18Z hoffmann 47 50 ! Adapted for modularization of microphysics … … 50 53 ! spectra_mod added 51 54 ! 52 ! 1831 2016-04-07 13:15:51Z hoffmann 53 ! turbulence renamed collision_turbulence, drizzle renamed 55 ! 1831 2016-04-07 13:15:51Z hoffmann 56 ! turbulence renamed collision_turbulence, drizzle renamed 54 57 ! cloud_water_sedimentation 55 58 ! … … 59 62 ! 1705 2015-11-02 14:28:56Z maronga 60 63 ! Bugfix: two lines required swapping 61 ! 64 ! 62 65 ! 1691 2015-10-26 16:17:44Z maronga 63 ! Added output of most_method, constant_flux_layer, zeta_min, zeta_max. Removed 66 ! Added output of most_method, constant_flux_layer, zeta_min, zeta_max. Removed 64 67 ! output of prandtl_layer and rif_min, rif_max. 65 ! 68 ! 66 69 ! 1682 2015-10-07 23:56:08Z knoop 67 ! Code annotations made doxygen readable 68 ! 70 ! Code annotations made doxygen readable 71 ! 69 72 ! 1585 2015-04-30 07:05:52Z maronga 70 73 ! Adapted for RRTMG 71 ! 74 ! 72 75 ! 1551 2015-03-03 14:18:16Z maronga 73 76 ! Typo removed 74 ! 77 ! 75 78 ! 1502 2014-12-03 18:22:31Z kanani 76 ! Canopy module and parameters removed (parameters are always read from 79 ! Canopy module and parameters removed (parameters are always read from 77 80 ! canopy_par NAMELIST for initial and restart runs), 78 ! Bugfix: added blanks in "cloud_top_radiation"-string to a total of 30 81 ! Bugfix: added blanks in "cloud_top_radiation"-string to a total of 30 79 82 ! characters 80 ! 83 ! 81 84 ! 1496 2014-12-02 17:25:50Z maronga 82 85 ! Renamed "radiation" -> "cloud_top_radiation" 83 ! 86 ! 84 87 ! 1484 2014-10-21 10:53:05Z kanani 85 88 ! Changes in the course of the canopy-model modularization: … … 90 93 ! 91 94 ! 1324 2014-03-21 09:13:16Z suehring 92 ! Bugfix: ONLY statement for module netcdf_control removed 95 ! Bugfix: ONLY statement for module netcdf_control removed 93 96 ! 94 97 ! 1320 2014-03-20 08:40:49Z raasch 95 98 ! revision history before 2012 removed, 96 99 ! comment fields (!:) to be used for variable explanations added to 97 ! all variable declaration statements 100 ! all variable declaration statements 98 101 ! 99 102 ! 1308 2014-03-13 14:58:42Z fricke … … 116 119 ! 117 120 ! 1053 2012-11-13 17:11:03Z hoffmann 118 ! necessary expansions according to the two new prognostic equations (nr, qr) 121 ! necessary expansions according to the two new prognostic equations (nr, qr) 119 122 ! of the two-moment cloud physics scheme: 120 123 ! +bc_*_b, bc_*_t, bc_*_t_val, *_init, *_surface, *_surface_initial_change, … … 122 125 ! +surface_waterflux_* 123 126 ! 124 ! in addition, steering parameters parameters of the two-moment cloud physics 125 ! scheme: 127 ! in addition, steering parameters parameters of the two-moment cloud physics 128 ! scheme: 126 129 ! +cloud_scheme, +drizzle, +mu_constant, +mu_constant_value, +ventilation_effect 127 130 ! … … 166 169 !------------------------------------------------------------------------------! 167 170 SUBROUTINE write_var_list 168 171 169 172 170 173 USE arrays_3d, & … … 173 176 174 177 USE control_parameters 175 178 176 179 USE flight_mod, & 177 180 ONLY: flight_write_restart_data 178 181 179 182 USE grid_variables, & 180 183 ONLY: dx, dy 181 184 182 185 USE indices, & 183 186 ONLY: nz, nx, ny … … 190 193 USE model_1d, & 191 194 ONLY: damp_level_1d, dt_pr_1d, dt_run_control_1d, end_time_1d 192 195 193 196 USE netcdf_interface, & 194 197 ONLY: netcdf_precision, output_for_t0 195 198 196 199 USE particle_attributes, & 197 200 ONLY: curvature_solution_effects, time_sort_particles 198 201 199 202 USE pegrid 200 203 … … 204 207 USE spectra_mod, & 205 208 ONLY: average_count_sp 209 210 USE synthetic_turbulence_generator_mod, & 211 ONLY: stg_write_restart_data 206 212 207 213 USE statistics, & … … 209 215 v_max_ijk, w_max, w_max_ijk 210 216 211 217 212 218 IMPLICIT NONE 213 219 214 CHARACTER (LEN=10) :: binary_version !< 220 CHARACTER (LEN=10) :: binary_version !< 215 221 216 222 … … 531 537 WRITE ( 14 ) s_vertical_gradient_level 532 538 WRITE ( 14 ) 's_vertical_gradient_level_ind ' 533 WRITE ( 14 ) s_vertical_gradient_level_ind 539 WRITE ( 14 ) s_vertical_gradient_level_ind 534 540 WRITE ( 14 ) 'sa_init ' 535 541 WRITE ( 14 ) sa_init … … 549 555 WRITE ( 14 ) surface_pressure 550 556 WRITE ( 14 ) 'surface_scalarflux ' 551 WRITE ( 14 ) surface_scalarflux 557 WRITE ( 14 ) surface_scalarflux 552 558 WRITE ( 14 ) 'surface_waterflux ' 553 WRITE ( 14 ) surface_waterflux 559 WRITE ( 14 ) surface_waterflux 554 560 WRITE ( 14 ) 's_surface ' 555 561 WRITE ( 14 ) s_surface … … 711 717 WRITE ( 14 ) zeta_min 712 718 WRITE ( 14 ) 'z0h_factor ' 713 WRITE ( 14 ) z0h_factor 719 WRITE ( 14 ) z0h_factor 714 720 715 721 ! … … 718 724 ! 719 725 !-- If required, write restart data for virtual measurements. 720 IF ( virtual_flight ) CALL flight_write_restart_data 721 722 726 IF ( virtual_flight ) CALL flight_write_restart_data 727 728 ! 729 !-- If required, write restart data for virtual measurements. 730 IF ( synthetic_turbulence_generator ) CALL stg_write_restart_data 731 732 723 733 END SUBROUTINE write_var_list
Note: See TracChangeset
for help on using the changeset viewer.