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

Last change on this file since 2716 was 2716, checked in by kanani, 6 years ago

Correction of "Former revisions" section

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