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