source: palm/trunk/SOURCE/package_parin.f90 @ 825

Last change on this file since 825 was 825, checked in by raasch, 12 years ago

New:
---

droplet growth by condensation may include curvature and solution effects.
Steered by new inipar-parameter curvature_solution_effects.
(advec_particles, check_parameters, header, init_cloud_physics, init_particles, modules, parin, read_var_list, write_var_list)

mean/min/max particle radius added as output quantity. (data_output_ptseries, modules)

Changed:


Initialisation of temporary particle array for resorting removed.
(advec_particles)

particle attributes speed_x|y|z_sgs renamed rvar1|2|3.
(advec_particles, data_output_ptseries, modules, init_particles, particle_boundary_conds)

routine wang_kernel and respective module renamed lpm_collision_kernels.
Package (particle) parameters wang_collision_kernel and turbulence_effects_on_collision
replaced by parameter collision_kernel.
(Makefile, advec_particles, check_parameters, diffusion_e, init_3d_model, modules, package_parin, time_integration, new: lpm_collision_kernels, deleted: wang_kernel)

Errors:


  • Property svn:keywords set to Id
File size: 6.0 KB
Line 
1 SUBROUTINE package_parin
2
3!------------------------------------------------------------------------------!
4! Current revisions:
5! -----------------
6! wang_collision_kernel and turbulence_effects_on_collision in particles_par
7! replaced by collision_kernel
8!
9! Former revisions:
10! -----------------
11! $Id: package_parin.f90 825 2012-02-19 03:03:44Z raasch $
12!
13! 790 2011-11-29 03:11:20Z raasch
14! +turbulence_effects_on_collision, wang_collision_kernel in particles_par
15!
16! 336 2009-06-10 11:19:35Z raasch
17! +clip_dvrp_*, cluster_size, color_interval, dvrpsize_interval,
18! groundplate_color, isosurface_color, particle_color, particle_dvrpsize
19! topography_color, in dvrp_graphics_par,
20! parameter dvrp_psize moved from particles_par to dvrp_graphics_par
21! Variables for dvrp-mode pathlines added
22!
23! 210 2008-11-06 08:54:02Z raasch
24! Variables for dvrp-mode pathlines added
25!
26! 116 2007-10-11 02:30:27Z raasch
27! +dt_sort_particles in package_parin
28!
29! 60 2007-03-11 11:50:04Z raasch
30! Particles-package is now part of the default code
31!
32! RCS Log replace by Id keyword, revision history cleaned up
33!
34! Revision 1.18  2006/08/04 14:52:23  raasch
35! +dt_dopts, dt_min_part, end_time_prel, particles_per_point,
36! use_sgs_for_particles in particles_par
37!
38! Revision 1.1  2000/12/28 13:21:57  raasch
39! Initial revision
40!
41!
42! Description:
43! ------------
44! This subroutine reads from the NAMELIST file variables controling model
45! software packages which are used optionally in the run.
46!------------------------------------------------------------------------------!
47
48    USE control_parameters
49    USE dvrp_variables
50    USE particle_attributes
51    USE spectrum
52
53    IMPLICIT NONE
54
55    CHARACTER (LEN=80) ::  zeile
56
57    NAMELIST /dvrp_graphics_par/  clip_dvrp_l, clip_dvrp_n, clip_dvrp_r,       &
58                                  clip_dvrp_s, cluster_size, color_interval,   &
59                                  dt_dvrp, dvrpsize_interval, dvrp_directory,  &
60                                  dvrp_file, dvrp_host, dvrp_output,           &
61                                  dvrp_password, dvrp_psize, dvrp_username,    &
62                                  groundplate_color, isosurface_color,         &
63                                  mode_dvrp, particle_color, particle_dvrpsize,&
64                                  pathlines_fadeintime, pathlines_fadeouttime, &
65                                  pathlines_linecount, pathlines_maxhistory,   &
66                                  pathlines_wavecount, pathlines_wavetime,     &
67                                  slicer_range_limits_dvrp, superelevation,    &
68                                  superelevation_x, superelevation_y,          &
69                                  threshold, topography_color, vc_alpha,       &
70                                  vc_gradient_normals, vc_mode, vc_size_x,     &
71                                  vc_size_y, vc_size_z
72
73    NAMELIST /particles_par/      bc_par_b, bc_par_lr, bc_par_ns, bc_par_t,    &
74                                  collision_kernel,                            &
75                                  density_ratio, radius, dt_dopts,             &
76                                  dt_min_part, dt_prel, dt_sort_particles,     &
77                                  dt_write_particle_data,                      &
78                                  end_time_prel, initial_weighting_factor,     &
79                                  maximum_number_of_particles,                 &
80                                  maximum_number_of_tailpoints,                &
81                                  maximum_tailpoint_age,                       &
82                                  minimum_tailpoint_distance,                  &
83                                  number_of_particle_groups,                   &
84                                  particles_per_point,                         &
85                                  particle_advection_start,                    &
86                                  particle_maximum_age, pdx, pdy, pdz, psb,    &
87                                  psl, psn, psr, pss, pst,                     &
88                                  random_start_position,                       &
89                                  read_particles_from_restartfile,             &
90                                  skip_particles_for_tail,                     &
91                                  use_particle_tails, use_sgs_for_particles,   &
92                                  vertical_particle_advection,                 &
93                                  write_particle_statistics
94    NAMELIST /spectra_par/        averaging_interval_sp, comp_spectra_level,   &
95                                  data_output_sp, dt_dosp, plot_spectra_level, &
96                                  skip_time_dosp, spectra_direction
97
98!
99!-- Position the namelist-file at the beginning (it was already opened in
100!-- parin), search for the namelist-group of the package and position the
101!-- file at this line. Do the same for each optionally used package.
102    zeile = ' '
103
104#if defined( __dvrp_graphics )
105    REWIND ( 11 )
106    zeile = ' '
107    DO   WHILE ( INDEX( zeile, '&dvrp_graphics_par' ) == 0 )
108       READ ( 11, '(A)', END=10 )  zeile
109    ENDDO
110    BACKSPACE ( 11 )
111
112!
113!-- Read user-defined namelist
114    READ ( 11, dvrp_graphics_par )
115
116 10 CONTINUE
117#endif
118
119!
120!-- Try to find particles package
121    REWIND ( 11 )
122    zeile = ' '
123    DO   WHILE ( INDEX( zeile, '&particles_par' ) == 0 )
124       READ ( 11, '(A)', END=20 )  zeile
125    ENDDO
126    BACKSPACE ( 11 )
127
128!
129!-- Read user-defined namelist
130    READ ( 11, particles_par )
131
132!
133!-- Set flag that indicates that particles are switched on
134    particle_advection = .TRUE.
135
136 20 CONTINUE
137
138
139#if defined( __spectra )
140    REWIND ( 11 )
141    zeile = ' '
142    DO   WHILE ( INDEX( zeile, '&spectra_par' ) == 0 )
143       READ ( 11, '(A)', END=30 )  zeile
144    ENDDO
145    BACKSPACE ( 11 )
146
147!
148!-- Read user-defined namelist
149    READ ( 11, spectra_par )
150
151!
152!-- Default setting of dt_dosp here (instead of check_parameters), because its
153!-- current value is needed in init_pegrid
154    IF ( dt_dosp == 9999999.9 )  dt_dosp = dt_data_output
155
156 30 CONTINUE
157#endif
158
159 END SUBROUTINE package_parin
Note: See TracBrowser for help on using the repository browser.