source: palm/trunk/SOURCE/write_var_list.f90 @ 2372

Last change on this file since 2372 was 2372, checked in by sward, 7 years ago

y_shift for periodic boundary conditions

  • Property svn:keywords set to Id
File size: 28.2 KB
RevLine 
[1682]1!> @file write_var_list.f90
[2000]2!------------------------------------------------------------------------------!
[1036]3! This file is part of PALM.
4!
[2000]5! PALM is free software: you can redistribute it and/or modify it under the
6! terms of the GNU General Public License as published by the Free Software
7! Foundation, either version 3 of the License, or (at your option) any later
8! version.
[1036]9!
10! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
11! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13!
14! You should have received a copy of the GNU General Public License along with
15! PALM. If not, see <http://www.gnu.org/licenses/>.
16!
[2101]17! Copyright 1997-2017 Leibniz Universitaet Hannover
[2000]18!------------------------------------------------------------------------------!
[1036]19!
[484]20! Current revisions:
[600]21! -----------------
[2233]22!
23!
24! Former revisions:
25! -----------------
26! $Id: write_var_list.f90 2372 2017-08-25 12:37:32Z sward $
[2372]27! y_shift added to vars, version no. increased
28!
29! 2365 2017-08-21 14:59:59Z kanani
[2365]30! Vertical nesting implemented (SadiqHuq)
31!
32! 2339 2017-08-07 13:55:26Z gronemeier
[2339]33! corrected timestamp in header
34!
35! 2338 2017-08-07 12:15:38Z gronemeier
[2338]36! Modularize 1D model
37!
[2339]38! 2265 2017-06-08 16:58:28Z schwenkel
[2265]39! Unused variables removed.
40!
41! 2259 2017-06-08 09:09:11Z gronemeier
[2259]42! Implemented synthetic turbulence generator
[2233]43!
[2259]44! 2233 2017-05-30 18:08:54Z suehring
45!
[2233]46! 2232 2017-05-30 17:47:52Z suehring
[2232]47! Replace wall_qflux, wall_sflux by wall_humidityflux and wall_scalarflux; add
48! wall_salinityflux
[2259]49! +tunnel_height, tunnel_lenth, tunnel_width_x, tunnel_width_y,
[2232]50! tunnel_wall_depth
[2259]51!
[2043]52! 2042 2016-11-02 13:47:31Z suehring
53! Bugfix, write restart data for wall_heatflux, wall_qflux and wall_sflux
[2259]54!
[2001]55! 2000 2016-08-20 18:09:15Z knoop
56! Forced header and separation lines into 80 columns
[2259]57!
[1993]58! 1992 2016-08-12 15:14:59Z suehring
[2259]59! top scalarflux added
[1993]60!
[1958]61! 1957 2016-07-07 10:43:48Z suehring
62! flight module added
[2259]63!
[1851]64! 1849 2016-04-08 11:33:18Z hoffmann
65! Adapted for modularization of microphysics
66!
[1834]67! 1833 2016-04-07 14:23:03Z raasch
68! spectra_mod added
69!
[2259]70! 1831 2016-04-07 13:15:51Z hoffmann
71! turbulence renamed collision_turbulence, drizzle renamed
[1832]72! cloud_water_sedimentation
73!
[1784]74! 1783 2016-03-06 18:36:17Z raasch
75! netcdf module name changed + related changes
76!
[1706]77! 1705 2015-11-02 14:28:56Z maronga
78! Bugfix: two lines required swapping
[2259]79!
[1692]80! 1691 2015-10-26 16:17:44Z maronga
[2259]81! Added output of most_method, constant_flux_layer, zeta_min, zeta_max. Removed
[1692]82! output of prandtl_layer and rif_min, rif_max.
[2259]83!
[1683]84! 1682 2015-10-07 23:56:08Z knoop
[2259]85! Code annotations made doxygen readable
86!
[1586]87! 1585 2015-04-30 07:05:52Z maronga
88! Adapted for RRTMG
[2259]89!
[1552]90! 1551 2015-03-03 14:18:16Z maronga
91! Typo removed
[2259]92!
[1503]93! 1502 2014-12-03 18:22:31Z kanani
[2259]94! Canopy module and parameters removed (parameters are always read from
[1502]95! canopy_par NAMELIST for initial and restart runs),
[2259]96! Bugfix: added blanks in "cloud_top_radiation"-string to a total of 30
[1502]97! characters
[2259]98!
[1497]99! 1496 2014-12-02 17:25:50Z maronga
100! Renamed "radiation" -> "cloud_top_radiation"
[2259]101!
[1485]102! 1484 2014-10-21 10:53:05Z kanani
[1484]103! Changes in the course of the canopy-model modularization:
104!   parameters alpha_lad, beta_lad, lai_beta added,
105!   module plant_canopy_model_mod added,
106!   drag_coefficient, leaf_surface_concentration and scalar_exchange_coefficient
107!   renamed to canopy_drag_coeff, leaf_surface_conc and leaf_scalar_exch_coeff
[1054]108!
[1325]109! 1324 2014-03-21 09:13:16Z suehring
[2259]110! Bugfix: ONLY statement for module netcdf_control removed
[1325]111!
[1321]112! 1320 2014-03-20 08:40:49Z raasch
113! revision history before 2012 removed,
114! comment fields (!:) to be used for variable explanations added to
[2259]115! all variable declaration statements
[1321]116!
[1309]117! 1308 2014-03-13 14:58:42Z fricke
118! +do2d_xy_time_count, do2d_xz_time_count, do2d_yz_time_count,
119! +do3d_time_count
120!
[1242]121! 1241 2013-10-30 11:36:58Z heinze
122! +nudging
123! +large_scale_forcing
124!
[1182]125! 1179 2013-06-14 05:57:58Z raasch
126! +reference_state, ref_state
127!
[1116]128! 1115 2013-03-26 18:16:16Z hoffmann
129! unused variables removed
130!
[1066]131! 1065 2012-11-22 17:42:36Z hoffmann
132! +nc, c_sedimentation, turbulence, limiter_sedimentation
133! -mu_constant, mu_constant_value
134!
[1054]135! 1053 2012-11-13 17:11:03Z hoffmann
[2259]136! necessary expansions according to the two new prognostic equations (nr, qr)
[1053]137! of the two-moment cloud physics scheme:
138! +bc_*_b, bc_*_t, bc_*_t_val, *_init, *_surface, *_surface_initial_change,
139! +*_vertical_gradient, *_vertical_gradient_level, *_vertical_gradient_level_ind,
140! +surface_waterflux_*
[392]141!
[2259]142! in addition, steering parameters parameters of the two-moment cloud physics
143! scheme:
[1053]144! +cloud_scheme, +drizzle, +mu_constant, +mu_constant_value, +ventilation_effect
[1017]145!
[1037]146! 1036 2012-10-22 13:43:42Z raasch
147! code put under GPL (PALM 3.9)
148!
[1017]149! 1015 2012-09-27 09:23:24Z raasch
150! -adjust_mixing_length
151!
[1004]152! 1003 2012-09-14 14:35:53Z raasch
153! -grid_matching
154!
[1002]155! 1001 2012-09-13 14:08:46Z raasch
156! -cut_spline_overshoot, last_dt_change, long_filter_factor, overshoot_limit_*,
157! ups_limit_*
158!
[979]159! 978 2012-08-09 08:28:32Z fricke
160! -km_damp_max, outflow_damping_width
161! +pt_damping_factor, pt_damping_width
162! +z0h_factor
163!
[941]164! 940 2012-07-09 14:31:00Z raasch
165! +neutral
166!
[928]167! 927 2012-06-06 19:15:04Z raasch
168! +masking_method
169!
[850]170! 849 2012-03-15 10:35:09Z raasch
171! first_call_advec_particles renamed first_call_lpm
172!
[826]173! 824 2012-02-17 09:09:57Z raasch
174! +curvature_solution_effects
175!
[1]176! Revision 1.1  1998/03/18 20:20:38  raasch
177! Initial revision
178!
179!
180! Description:
181! ------------
[1682]182!> Writing values of control variables to restart-file (binary format).
183!> This information are only written to the file opened by PE0.
[1]184!------------------------------------------------------------------------------!
[1682]185 SUBROUTINE write_var_list
[1]186
[2259]187
[1320]188    USE arrays_3d,                                                             &
[1484]189        ONLY:  inflow_damping_factor, mean_inflow_profiles, pt_init,           &
[1960]190               q_init, ref_state, s_init, sa_init, u_init, ug, v_init, vg
[1849]191
[87]192    USE control_parameters
[2259]193
[1957]194    USE flight_mod,                                                            &
195        ONLY:  flight_write_restart_data
[2259]196
[1320]197    USE grid_variables,                                                        &
198        ONLY:  dx, dy
[2259]199
[1320]200    USE indices,                                                               &
201        ONLY:  nz, nx, ny
[1849]202
203    USE microphysics_mod,                                                      &
204        ONLY:  c_sedimentation, cloud_water_sedimentation,                     &
205               collision_turbulence, limiter_sedimentation, nc_const,          &
206               ventilation_effect
207
[2338]208    USE model_1d_mod,                                                          &
[1320]209        ONLY:  damp_level_1d, dt_pr_1d, dt_run_control_1d, end_time_1d
[2259]210
[1783]211    USE netcdf_interface,                                                      &
212        ONLY:  netcdf_precision, output_for_t0
[2259]213
[1320]214    USE particle_attributes,                                                   &
[2265]215        ONLY:  curvature_solution_effects
[2259]216
[1]217    USE pegrid
[1484]218
[1585]219    USE radiation_model_mod,                                                   &
[1833]220        ONLY:  time_radiation
[1585]221
[1833]222    USE spectra_mod,                                                           &
223        ONLY:  average_count_sp
224
[2259]225    USE synthetic_turbulence_generator_mod,                                    &
226        ONLY:  stg_write_restart_data
227
[1320]228    USE statistics,                                                            &
229        ONLY:  statistic_regions, hom, hom_sum, u_max, u_max_ijk, v_max,       &
230               v_max_ijk, w_max, w_max_ijk
[1691]231
[2365]232    USE vertical_nesting_mod,                                                  &
233        ONLY:  vnest_init
[2259]234
[1]235    IMPLICIT NONE
236
[2259]237    CHARACTER (LEN=10) ::  binary_version   !<
[1]238
239
[2372]240    binary_version = '4.2'
[1]241
[145]242    WRITE ( 14 )  binary_version
[1]243
[145]244    WRITE ( 14 )  'numprocs                      '
245    WRITE ( 14 )  numprocs
246    WRITE ( 14 )  'hor_index_bounds              '
247    WRITE ( 14 )  hor_index_bounds
[1]248    WRITE ( 14 )  'nz                            '
249    WRITE ( 14 )  nz
[87]250    WRITE ( 14 )  'max_pr_user                   '
251    WRITE ( 14 )  max_pr_user
[1]252    WRITE ( 14 )  'statistic_regions             '
253    WRITE ( 14 )  statistic_regions
254
255!
256!-- Caution: After changes in the following parameter-list, the
257!-- -------  version number stored in the variable binary_version has to be
258!--          increased. The same changes must also be done in the parameter-
259!--          list in read_var_list.
260
261    WRITE ( 14 )  'advected_distance_x           '
262    WRITE ( 14 )  advected_distance_x
263    WRITE ( 14 )  'advected_distance_y           '
264    WRITE ( 14 )  advected_distance_y
265    WRITE ( 14 )  'alpha_surface                 '
266    WRITE ( 14 )  alpha_surface
267    WRITE ( 14 )  'average_count_pr              '
268    WRITE ( 14 )  average_count_pr
269    WRITE ( 14 )  'average_count_sp              '
270    WRITE ( 14 )  average_count_sp
271    WRITE ( 14 )  'average_count_3d              '
272    WRITE ( 14 )  average_count_3d
273    WRITE ( 14 )  'bc_e_b                        '
274    WRITE ( 14 )  bc_e_b
275    WRITE ( 14 )  'bc_lr                         '
276    WRITE ( 14 )  bc_lr
277    WRITE ( 14 )  'bc_ns                         '
278    WRITE ( 14 )  bc_ns
279    WRITE ( 14 )  'bc_p_b                        '
280    WRITE ( 14 )  bc_p_b
281    WRITE ( 14 )  'bc_p_t                        '
282    WRITE ( 14 )  bc_p_t
283    WRITE ( 14 )  'bc_pt_b                       '
284    WRITE ( 14 )  bc_pt_b
285    WRITE ( 14 )  'bc_pt_t                       '
286    WRITE ( 14 )  bc_pt_t
287    WRITE ( 14 )  'bc_pt_t_val                   '
288    WRITE ( 14 )  bc_pt_t_val
289    WRITE ( 14 )  'bc_q_b                        '
290    WRITE ( 14 )  bc_q_b
291    WRITE ( 14 )  'bc_q_t                        '
292    WRITE ( 14 )  bc_q_t
293    WRITE ( 14 )  'bc_q_t_val                    '
294    WRITE ( 14 )  bc_q_t_val
295    WRITE ( 14 )  'bc_s_b                        '
296    WRITE ( 14 )  bc_s_b
297    WRITE ( 14 )  'bc_s_t                        '
298    WRITE ( 14 )  bc_s_t
[95]299    WRITE ( 14 )  'bc_sa_t                       '
300    WRITE ( 14 )  bc_sa_t
[1]301    WRITE ( 14 )  'bc_uv_b                       '
302    WRITE ( 14 )  bc_uv_b
303    WRITE ( 14 )  'bc_uv_t                       '
304    WRITE ( 14 )  bc_uv_t
[95]305    WRITE ( 14 )  'bottom_salinityflux           '
306    WRITE ( 14 )  bottom_salinityflux
[1]307    WRITE ( 14 )  'building_height               '
308    WRITE ( 14 )  building_height
309    WRITE ( 14 )  'building_length_x             '
310    WRITE ( 14 )  building_length_x
311    WRITE ( 14 )  'building_length_y             '
312    WRITE ( 14 )  building_length_y
313    WRITE ( 14 )  'building_wall_left            '
314    WRITE ( 14 )  building_wall_left
315    WRITE ( 14 )  'building_wall_south           '
316    WRITE ( 14 )  building_wall_south
[600]317    WRITE ( 14 )  'call_psolver_at_all_substeps  '
318    WRITE ( 14 )  call_psolver_at_all_substeps
[240]319    WRITE ( 14 )  'canyon_height                 '
320    WRITE ( 14 )  canyon_height
321    WRITE ( 14 )  'canyon_width_x                '
322    WRITE ( 14 )  canyon_width_x
323    WRITE ( 14 )  'canyon_width_y                '
324    WRITE ( 14 )  canyon_width_y
325    WRITE ( 14 )  'canyon_wall_left              '
326    WRITE ( 14 )  canyon_wall_left
327    WRITE ( 14 )  'canyon_wall_south             '
328    WRITE ( 14 )  canyon_wall_south
[1065]329    WRITE ( 14 )  'c_sedimentation               '
330    WRITE ( 14 )  c_sedimentation
[600]331    WRITE ( 14 )  'cfl_factor                    '
332    WRITE ( 14 )  cfl_factor
[1]333    WRITE ( 14 )  'cloud_droplets                '
334    WRITE ( 14 )  cloud_droplets
335    WRITE ( 14 )  'cloud_physics                 '
336    WRITE ( 14 )  cloud_physics
[1053]337    WRITE ( 14 )  'cloud_scheme                  '
338    WRITE ( 14 )  cloud_scheme
[622]339    WRITE ( 14 )  'collective_wait               '
340    WRITE ( 14 )  collective_wait
[1]341    WRITE ( 14 )  'conserve_volume_flow          '
342    WRITE ( 14 )  conserve_volume_flow
[241]343    WRITE ( 14 )  'conserve_volume_flow_mode     '
344    WRITE ( 14 )  conserve_volume_flow_mode
[291]345    WRITE ( 14 )  'coupling_start_time           '
[1705]346    WRITE ( 14 )  coupling_start_time
[1691]347    WRITE ( 14 )  'constant_flux_layer           '
348    WRITE ( 14 )  constant_flux_layer
[1]349    WRITE ( 14 )  'current_timestep_number       '
350    WRITE ( 14 )  current_timestep_number
[824]351    WRITE ( 14 )  'curvature_solution_effects    '
352    WRITE ( 14 )  curvature_solution_effects
[600]353    WRITE ( 14 )  'cycle_mg                      '
354    WRITE ( 14 )  cycle_mg
[1]355    WRITE ( 14 )  'damp_level_1d                 '
356    WRITE ( 14 )  damp_level_1d
357    WRITE ( 14 )  'dissipation_1d                '
358    WRITE ( 14 )  dissipation_1d
[1308]359    WRITE ( 14 )  'do2d_xy_time_count            '
360    WRITE ( 14 )  do2d_xy_time_count
361    WRITE ( 14 )  'do2d_xz_time_count            '
362    WRITE ( 14 )  do2d_xz_time_count
363    WRITE ( 14 )  'do2d_yz_time_count            '
364    WRITE ( 14 )  do2d_yz_time_count
365    WRITE ( 14 )  'do3d_time_count               '
366    WRITE ( 14 )  do3d_time_count
[240]367    WRITE ( 14 )  'dp_external                   '
368    WRITE ( 14 )  dp_external
369    WRITE ( 14 )  'dp_level_b                    '
370    WRITE ( 14 )  dp_level_b
371    WRITE ( 14 )  'dp_smooth                     '
372    WRITE ( 14 )  dp_smooth
373    WRITE ( 14 )  'dpdxy                         '
374    WRITE ( 14 )  dpdxy
[1831]375    WRITE ( 14 )  'cloud_water_sedimentation     '
376    WRITE ( 14 )  cloud_water_sedimentation
[1]377    WRITE ( 14 )  'dt_pr_1d                      '
378    WRITE ( 14 )  dt_pr_1d
379    WRITE ( 14 )  'dt_run_control_1d             '
380    WRITE ( 14 )  dt_run_control_1d
381    WRITE ( 14 )  'dt_3d                         '
382    WRITE ( 14 )  dt_3d
383    WRITE ( 14 )  'dvrp_filecount                '
384    WRITE ( 14 )  dvrp_filecount
385    WRITE ( 14 )  'dx                            '
386    WRITE ( 14 )  dx
387    WRITE ( 14 )  'dy                            '
388    WRITE ( 14 )  dy
389    WRITE ( 14 )  'dz                            '
390    WRITE ( 14 )  dz
391    WRITE ( 14 )  'dz_max                        '
392    WRITE ( 14 )  dz_max
393    WRITE ( 14 )  'dz_stretch_factor             '
394    WRITE ( 14 )  dz_stretch_factor
395    WRITE ( 14 )  'dz_stretch_level              '
396    WRITE ( 14 )  dz_stretch_level
397    WRITE ( 14 )  'e_min                         '
398    WRITE ( 14 )  e_min
399    WRITE ( 14 )  'end_time_1d                   '
400    WRITE ( 14 )  end_time_1d
401    WRITE ( 14 )  'fft_method                    '
402    WRITE ( 14 )  fft_method
[849]403    WRITE ( 14 )  'first_call_lpm                '
404    WRITE ( 14 )  first_call_lpm
[1]405    WRITE ( 14 )  'galilei_transformation        '
406    WRITE ( 14 )  galilei_transformation
407    WRITE ( 14 )  'hom                           '
408    WRITE ( 14 )  hom
[143]409    WRITE ( 14 )  'hom_sum                       '
410    WRITE ( 14 )  hom_sum
[151]411    WRITE ( 14 )  'humidity                      '
412    WRITE ( 14 )  humidity
413    IF ( ALLOCATED( inflow_damping_factor ) )  THEN
414       WRITE ( 14 )  'inflow_damping_factor         '
415       WRITE ( 14 )  inflow_damping_factor
416    ENDIF
417    WRITE ( 14 )  'inflow_damping_height         '
418    WRITE ( 14 )  inflow_damping_height
419    WRITE ( 14 )  'inflow_damping_width          '
420    WRITE ( 14 )  inflow_damping_width
[1]421    WRITE ( 14 )  'inflow_disturbance_begin      '
422    WRITE ( 14 )  inflow_disturbance_begin
423    WRITE ( 14 )  'inflow_disturbance_end        '
424    WRITE ( 14 )  inflow_disturbance_end
425    WRITE ( 14 )  'km_constant                   '
426    WRITE ( 14 )  km_constant
[1241]427    WRITE ( 14 )  'large_scale_forcing           '
428    WRITE ( 14 )  large_scale_forcing
[411]429    WRITE ( 14 )  'large_scale_subsidence        '
430    WRITE ( 14 )  large_scale_subsidence
[1065]431    WRITE ( 14 )  'limiter_sedimentation         '
432    WRITE ( 14 )  limiter_sedimentation
[63]433    WRITE ( 14 )  'loop_optimization             '
434    WRITE ( 14 )  loop_optimization
[927]435    WRITE ( 14 )  'masking_method                '
436    WRITE ( 14 )  masking_method
[151]437    IF ( ALLOCATED( mean_inflow_profiles ) )  THEN
438       WRITE ( 14 )  'mean_inflow_profiles          '
439       WRITE ( 14 )  mean_inflow_profiles
440    ENDIF
[600]441    WRITE ( 14 )  'mg_cycles                     '
442    WRITE ( 14 )  mg_cycles
443    WRITE ( 14 )  'mg_switch_to_pe0_level        '
444    WRITE ( 14 )  mg_switch_to_pe0_level
[1]445    WRITE ( 14 )  'mixing_length_1d              '
446    WRITE ( 14 )  mixing_length_1d
447    WRITE ( 14 )  'momentum_advec                '
448    WRITE ( 14 )  momentum_advec
[1691]449    WRITE ( 14 )  'most_method                   '
450    WRITE ( 14 )  most_method
[1115]451    WRITE ( 14 )  'nc_const                      '
452    WRITE ( 14 )  nc_const
[1]453    WRITE ( 14 )  'netcdf_precision              '
454    WRITE ( 14 )  netcdf_precision
[940]455    WRITE ( 14 )  'neutral                       '
456    WRITE ( 14 )  neutral
[600]457    WRITE ( 14 )  'ngsrb                         '
458    WRITE ( 14 )  ngsrb
459    WRITE ( 14 )  'nsor                          '
460    WRITE ( 14 )  nsor
[1]461    WRITE ( 14 )  'nsor_ini                      '
462    WRITE ( 14 )  nsor_ini
[1241]463    WRITE ( 14 )  'nudging                       '
464    WRITE ( 14 )  nudging
[1957]465    WRITE ( 14 )  'num_leg                       '
466    WRITE ( 14 )  num_leg
[1]467    WRITE ( 14 )  'nx                            '
468    WRITE ( 14 )  nx
469    WRITE ( 14 )  'ny                            '
470    WRITE ( 14 )  ny
[94]471    WRITE ( 14 )  'ocean                         '
472    WRITE ( 14 )  ocean
[1]473    WRITE ( 14 )  'old_dt                        '
474    WRITE ( 14 )  old_dt
475    WRITE ( 14 )  'omega                         '
476    WRITE ( 14 )  omega
[600]477    WRITE ( 14 )  'omega_sor                     '
478    WRITE ( 14 )  omega_sor
[345]479    WRITE ( 14 )  'output_for_t0                 '
480    WRITE ( 14 )  output_for_t0
[1]481    WRITE ( 14 )  'passive_scalar                '
482    WRITE ( 14 )  passive_scalar
483    WRITE ( 14 )  'phi                           '
484    WRITE ( 14 )  phi
[600]485    WRITE ( 14 )  'prandtl_number                '
486    WRITE ( 14 )  prandtl_number
[1]487    WRITE ( 14 )  'precipitation                 '
488    WRITE ( 14 )  precipitation
[600]489    WRITE ( 14 )  'psolver                       '
490    WRITE ( 14 )  psolver
[978]491    WRITE ( 14 )  'pt_damping_factor             '
492    WRITE ( 14 )  pt_damping_factor
493    WRITE ( 14 )  'pt_damping_width              '
494    WRITE ( 14 )  pt_damping_width
[1]495    WRITE ( 14 )  'pt_init                       '
496    WRITE ( 14 )  pt_init
[57]497    WRITE ( 14 )  'pt_reference                  '
498    WRITE ( 14 )  pt_reference
[1]499    WRITE ( 14 )  'pt_surface                    '
500    WRITE ( 14 )  pt_surface
501    WRITE ( 14 )  'pt_surface_initial_change     '
502    WRITE ( 14 )  pt_surface_initial_change
503    WRITE ( 14 )  'pt_vertical_gradient          '
504    WRITE ( 14 )  pt_vertical_gradient
505    WRITE ( 14 )  'pt_vertical_gradient_level    '
506    WRITE ( 14 )  pt_vertical_gradient_level
507    WRITE ( 14 )  'pt_vertical_gradient_level_ind'
508    WRITE ( 14 )  pt_vertical_gradient_level_ind
509    WRITE ( 14 )  'q_init                        '
510    WRITE ( 14 )  q_init
511    WRITE ( 14 )  'q_surface                     '
512    WRITE ( 14 )  q_surface
513    WRITE ( 14 )  'q_surface_initial_change      '
514    WRITE ( 14 )  q_surface_initial_change
515    WRITE ( 14 )  'q_vertical_gradient           '
516    WRITE ( 14 )  q_vertical_gradient
517    WRITE ( 14 )  'q_vertical_gradient_level     '
518    WRITE ( 14 )  q_vertical_gradient_level
519    WRITE ( 14 )  'q_vertical_gradient_level_ind '
520    WRITE ( 14 )  q_vertical_gradient_level_ind
[1502]521    WRITE ( 14 )  'cloud_top_radiation           '
[1496]522    WRITE ( 14 )  cloud_top_radiation
[1]523    WRITE ( 14 )  'random_generator              '
524    WRITE ( 14 )  random_generator
525    WRITE ( 14 )  'random_heatflux               '
526    WRITE ( 14 )  random_heatflux
[600]527    WRITE ( 14 )  'rayleigh_damping_factor       '
528    WRITE ( 14 )  rayleigh_damping_factor
529    WRITE ( 14 )  'rayleigh_damping_height       '
530    WRITE ( 14 )  rayleigh_damping_height
[151]531    WRITE ( 14 )  'recycling_width               '
532    WRITE ( 14 )  recycling_width
[1179]533    WRITE ( 14 )  'reference_state               '
534    WRITE ( 14 )  reference_state
535    WRITE ( 14 )  'ref_state                     '
536    WRITE ( 14 )  ref_state
[600]537    WRITE ( 14 )  'residual_limit                '
538    WRITE ( 14 )  residual_limit
[1]539    WRITE ( 14 )  'roughness_length              '
540    WRITE ( 14 )  roughness_length
541    WRITE ( 14 )  'runnr                         '
542    WRITE ( 14 )  runnr
[291]543    WRITE ( 14 )  'run_coupled                   '
544    WRITE ( 14 )  run_coupled
[1960]545    WRITE ( 14 )  's_init                        '
546    WRITE ( 14 )  s_init
547    WRITE ( 14 )  's_surface                     '
548    WRITE ( 14 )  s_surface
549    WRITE ( 14 )  's_surface_initial_change      '
550    WRITE ( 14 )  s_surface_initial_change
551    WRITE ( 14 )  's_vertical_gradient           '
552    WRITE ( 14 )  s_vertical_gradient
553    WRITE ( 14 )  's_vertical_gradient_level     '
554    WRITE ( 14 )  s_vertical_gradient_level
555    WRITE ( 14 )  's_vertical_gradient_level_ind '
[2259]556    WRITE ( 14 )  s_vertical_gradient_level_ind
[94]557    WRITE ( 14 )  'sa_init                       '
558    WRITE ( 14 )  sa_init
559    WRITE ( 14 )  'sa_surface                    '
560    WRITE ( 14 )  sa_surface
561    WRITE ( 14 )  'sa_vertical_gradient          '
562    WRITE ( 14 )  sa_vertical_gradient
563    WRITE ( 14 )  'sa_vertical_gradient_level    '
564    WRITE ( 14 )  sa_vertical_gradient_level
[1]565    WRITE ( 14 )  'scalar_advec                  '
566    WRITE ( 14 )  scalar_advec
567    WRITE ( 14 )  'simulated_time                '
568    WRITE ( 14 )  simulated_time
569    WRITE ( 14 )  'surface_heatflux              '
570    WRITE ( 14 )  surface_heatflux
571    WRITE ( 14 )  'surface_pressure              '
572    WRITE ( 14 )  surface_pressure
573    WRITE ( 14 )  'surface_scalarflux            '
[2259]574    WRITE ( 14 )  surface_scalarflux
[1]575    WRITE ( 14 )  'surface_waterflux             '
[2259]576    WRITE ( 14 )  surface_waterflux
[1]577    WRITE ( 14 )  's_surface                     '
578    WRITE ( 14 )  s_surface
579    WRITE ( 14 )  's_surface_initial_change      '
580    WRITE ( 14 )  s_surface_initial_change
581    WRITE ( 14 )  's_vertical_gradient           '
582    WRITE ( 14 )  s_vertical_gradient
583    WRITE ( 14 )  's_vertical_gradient_level     '
584    WRITE ( 14 )  s_vertical_gradient_level
[102]585    WRITE ( 14 )  'time_coupling                 '
586    WRITE ( 14 )  time_coupling
[1]587    WRITE ( 14 )  'time_disturb                  '
588    WRITE ( 14 )  time_disturb
[587]589    WRITE ( 14 )  'time_domask                   '
590    WRITE ( 14 )  time_domask
[1]591    WRITE ( 14 )  'time_dopr                     '
592    WRITE ( 14 )  time_dopr
593    WRITE ( 14 )  'time_dopr_av                  '
594    WRITE ( 14 )  time_dopr_av
595    WRITE ( 14 )  'time_dopr_listing             '
596    WRITE ( 14 )  time_dopr_listing
597    WRITE ( 14 )  'time_dopts                    '
598    WRITE ( 14 )  time_dopts
599    WRITE ( 14 )  'time_dosp                     '
600    WRITE ( 14 )  time_dosp
601    WRITE ( 14 )  'time_dots                     '
602    WRITE ( 14 )  time_dots
603    WRITE ( 14 )  'time_do2d_xy                  '
604    WRITE ( 14 )  time_do2d_xy
605    WRITE ( 14 )  'time_do2d_xz                  '
606    WRITE ( 14 )  time_do2d_xz
607    WRITE ( 14 )  'time_do2d_yz                  '
608    WRITE ( 14 )  time_do2d_yz
609    WRITE ( 14 )  'time_do3d                     '
610    WRITE ( 14 )  time_do3d
611    WRITE ( 14 )  'time_do_av                    '
612    WRITE ( 14 )  time_do_av
613    WRITE ( 14 )  'time_do_sla                   '
614    WRITE ( 14 )  time_do_sla
615    WRITE ( 14 )  'time_dvrp                     '
616    WRITE ( 14 )  time_dvrp
[1585]617    WRITE ( 14 )  'time_radiation                '
618    WRITE ( 14 )  time_radiation
[1]619    WRITE ( 14 )  'time_restart                  '
620    WRITE ( 14 )  time_restart
621    WRITE ( 14 )  'time_run_control              '
622    WRITE ( 14 )  time_run_control
[291]623    WRITE ( 14 )  'time_since_reference_point    '
624    WRITE ( 14 )  time_since_reference_point
[1]625    WRITE ( 14 )  'timestep_scheme               '
626    WRITE ( 14 )  timestep_scheme
627    WRITE ( 14 )  'topography                    '
628    WRITE ( 14 )  topography
[256]629    WRITE ( 14 )  'topography_grid_convention    '
630    WRITE ( 14 )  topography_grid_convention
[19]631    WRITE ( 14 )  'top_heatflux                  '
632    WRITE ( 14 )  top_heatflux
[102]633    WRITE ( 14 )  'top_momentumflux_u            '
634    WRITE ( 14 )  top_momentumflux_u
635    WRITE ( 14 )  'top_momentumflux_v            '
636    WRITE ( 14 )  top_momentumflux_v
[94]637    WRITE ( 14 )  'top_salinityflux              '
638    WRITE ( 14 )  top_salinityflux
[1992]639    WRITE ( 14 )  'top_scalarflux                '
640    WRITE ( 14 )  top_scalarflux
[1]641    WRITE ( 14 )  'tsc                           '
642    WRITE ( 14 )  tsc
[2232]643    WRITE ( 14 )  'tunnel_height                 '
644    WRITE ( 14 )  tunnel_height
645    WRITE ( 14 )  'tunnel_length                 '
646    WRITE ( 14 )  tunnel_length
647    WRITE ( 14 )  'tunnel_width_x                '
648    WRITE ( 14 )  tunnel_width_x
649    WRITE ( 14 )  'tunnel_width_y                '
650    WRITE ( 14 )  tunnel_width_y
651    WRITE ( 14 )  'tunnel_wall_depth             '
652    WRITE ( 14 )  tunnel_wall_depth
[1831]653    WRITE ( 14 )  'collision_turbulence          '
654    WRITE ( 14 )  collision_turbulence
[151]655    WRITE ( 14 )  'turbulent_inflow              '
656    WRITE ( 14 )  turbulent_inflow
[241]657    WRITE ( 14 )  'u_bulk                        '
658    WRITE ( 14 )  u_bulk
[1]659    WRITE ( 14 )  'u_init                        '
660    WRITE ( 14 )  u_init
661    WRITE ( 14 )  'u_max                         '
662    WRITE ( 14 )  u_max
663    WRITE ( 14 )  'u_max_ijk                     '
664    WRITE ( 14 )  u_max_ijk
665    WRITE ( 14 )  'ug                            '
666    WRITE ( 14 )  ug
667    WRITE ( 14 )  'ug_surface                    '
668    WRITE ( 14 )  ug_surface
669    WRITE ( 14 )  'ug_vertical_gradient          '
670    WRITE ( 14 )  ug_vertical_gradient
671    WRITE ( 14 )  'ug_vertical_gradient_level    '
672    WRITE ( 14 )  ug_vertical_gradient_level
673    WRITE ( 14 )  'ug_vertical_gradient_level_ind'
674    WRITE ( 14 )  ug_vertical_gradient_level_ind
675    WRITE ( 14 )  'use_surface_fluxes            '
676    WRITE ( 14 )  use_surface_fluxes
[20]677    WRITE ( 14 )  'use_top_fluxes                '
678    WRITE ( 14 )  use_top_fluxes
[1]679    WRITE ( 14 )  'use_ug_for_galilei_tr         '
680    WRITE ( 14 )  use_ug_for_galilei_tr
681    WRITE ( 14 )  'use_upstream_for_tke          '
682    WRITE ( 14 )  use_upstream_for_tke
[241]683    WRITE ( 14 )  'v_bulk                        '
684    WRITE ( 14 )  v_bulk
[1]685    WRITE ( 14 )  'v_init                        '
686    WRITE ( 14 )  v_init
687    WRITE ( 14 )  'v_max                         '
688    WRITE ( 14 )  v_max
689    WRITE ( 14 )  'v_max_ijk                     '
690    WRITE ( 14 )  v_max_ijk
[1053]691    WRITE ( 14 )  'ventilation_effect            '
692    WRITE ( 14 )  ventilation_effect
[1]693    WRITE ( 14 )  'vg                            '
694    WRITE ( 14 )  vg
695    WRITE ( 14 )  'vg_surface                    '
696    WRITE ( 14 )  vg_surface
697    WRITE ( 14 )  'vg_vertical_gradient          '
698    WRITE ( 14 )  vg_vertical_gradient
699    WRITE ( 14 )  'vg_vertical_gradient_level    '
700    WRITE ( 14 )  vg_vertical_gradient_level
701    WRITE ( 14 )  'vg_vertical_gradient_level_ind'
702    WRITE ( 14 )  vg_vertical_gradient_level_ind
[1957]703    WRITE ( 14 )  'virtual_flight                '
704    WRITE ( 14 )  virtual_flight
[2365]705    WRITE ( 14 )  'vnest_init                    '
706    WRITE ( 14 )  vnest_init
[143]707    WRITE ( 14 )  'volume_flow_area              '
708    WRITE ( 14 )  volume_flow_area
709    WRITE ( 14 )  'volume_flow_initial           '
710    WRITE ( 14 )  volume_flow_initial
[1]711    WRITE ( 14 )  'wall_adjustment               '
712    WRITE ( 14 )  wall_adjustment
[589]713    WRITE ( 14 )  'subs_vertical_gradient        '
[580]714    WRITE ( 14 )  subs_vertical_gradient
[589]715    WRITE ( 14 )  'subs_vertical_gradient_level  '
[580]716    WRITE ( 14 )  subs_vertical_gradient_level
717    WRITE ( 14 )  'subs_vertical_gradient_level_i'
718    WRITE ( 14 )  subs_vertical_gradient_level_i
[2042]719    WRITE ( 14 )  'wall_heatflux                 '
720    WRITE ( 14 )  wall_heatflux
[2232]721    WRITE ( 14 )  'wall_humidityflux             '
722    WRITE ( 14 )  wall_humidityflux
723    WRITE ( 14 )  'wall_scalarflux               '
724    WRITE ( 14 )  wall_scalarflux
725    WRITE ( 14 )  'wall_salinityflux             '
726    WRITE ( 14 )  wall_salinityflux
[1]727    WRITE ( 14 )  'w_max                         '
728    WRITE ( 14 )  w_max
729    WRITE ( 14 )  'w_max_ijk                     '
730    WRITE ( 14 )  w_max_ijk
[2372]731    WRITE ( 14 )  'y_shift                       '
732    WRITE ( 14 )  y_shift
[1691]733    WRITE ( 14 )  'zeta_max                      '
734    WRITE ( 14 )  zeta_max
735    WRITE ( 14 )  'zeta_min                      '
736    WRITE ( 14 )  zeta_min
[978]737    WRITE ( 14 )  'z0h_factor                    '
[2259]738    WRITE ( 14 )  z0h_factor
[2232]739
[1]740!
741!-- Set the end-of-file mark
742    WRITE ( 14 )  '*** end ***                   '
[1957]743!
744!-- If required, write restart data for virtual measurements.
[2259]745    IF ( virtual_flight )  CALL flight_write_restart_data
746
747!
748!-- If required, write restart data for virtual measurements.
749    IF ( synthetic_turbulence_generator )  CALL stg_write_restart_data
750
751
[1]752 END SUBROUTINE write_var_list
Note: See TracBrowser for help on using the repository browser.