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

Last change on this file since 2232 was 2232, checked in by suehring, 7 years ago

Adjustments according new topography and surface-modelling concept implemented

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