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

Last change on this file since 2338 was 2338, checked in by gronemeier, 7 years ago

modularized 1d model

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