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

Last change on this file since 2576 was 2576, checked in by Giersch, 6 years ago

Bugfixes for restart runs

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