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