source: palm/trunk/EXAMPLES/test_salsa/test_salsa_p3d @ 3494

Last change on this file since 3494 was 3446, checked in by monakurppa, 6 years ago

Branch salsa: updated EXAMPLES/test_salsa

File size: 8.4 KB
Line 
1!-------------------------------------------------------------------------------
2!-- INITIALIZATION PARAMETER NAMELIST
3!   Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/inipar
4!-------------------------------------------------------------------------------
5 &initialization_parameters
6
7!
8!-- Grid
9!------------------------------------------------------------------------------
10    nx                   = 19,
11    ny                   = 19,
12    nz                   = 22,
13
14    dx                   = 2.0,
15    dy                   = 2.0,
16    dz                   = 2.0,
17
18!
19!-- Numerics
20!------------------------------------------------------------------------------
21    psolver              = 'multigrid',
22    momentum_advec       = 'ws-scheme',  ! default advection scheme
23    scalar_advec         = 'ws-scheme',
24    conserve_volume_flow = .T.,
25
26!
27!-- Mode
28!------------------------------------------------------------------------------     
29    humidity             = .T.,
30    q_surface            = 0.008,
31
32!
33!-- Initialization
34!------------------------------------------------------------------------------
35    initializing_actions = 'set_constant_profiles',
36
37    pt_surface           = 293.15,
38    ug_surface           = 1.0,
39    vg_surface           = 0.0,
40
41    roughness_length     = 0.05,
42    neutral              = .T.,
43   
44    day_of_year_init     =  65,          ! March 06, to avoid extreme temperatures
45    time_utc_init        = 0.0,
46
47!
48!-- Boundary conditions
49!------------------------------------------------------------------------------
50    bc_lr                = 'cyclic',
51    bc_ns                = 'cyclic',
52    bc_uv_t              = 'dirichlet',  ! channel flow boundary condition
53
54!
55!-- Topography
56!------------------------------------------------------------------------------   
57    topography           = 'read_from_file',
58
59!
60!-- Physics
61!------------------------------------------------------------------------------
62    longitude            = 13.4,         ! Berlin longitude
63    latitude             = 52.5,         ! Berlin latitude
64     
65 / ! end of inipar namelist
66
67
68!-------------------------------------------------------------------------------
69!-- RUNTIME PARAMETER NAMELIST
70!   Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/d3par
71!-------------------------------------------------------------------------------
72 &runtime_parameters
73
74!
75!-- Run steering
76!------------------------------------------------------------------------------
77    end_time              = 1000.0,
78    create_disturbances   = .T.,
79
80!
81!-- General output settings
82!------------------------------------------------------------------------------
83    netcdf_data_format    = 4,           ! use NetCDF4
84
85!
86!-- Run-control/timeseries output settings
87!------------------------------------------------------------------------------
88    dt_run_control        =  0.0,
89    dt_dots               =  0.0,
90
91!
92!-- Profile output settings
93!------------------------------------------------------------------------------
94    skip_time_dopr        =   0.0,
95    dt_dopr               = 500.0,
96    averaging_interval_pr = 500.0,
97    dt_averaging_input_pr =   0.0,
98
99    data_output_pr        = '#u',  'u*2',  'wu',  'w*u*',  'w"u"',
100                            '#v',  'v*2',  'wv',  'w*v*',  'w"v"',
101                            'w',   'w*2',
102                            '#pt', 'pt*2', 'wpt', 'w*pt*', 'w"pt"',
103                            'e', 'e*', '#km', '#l',
104!
105!-- 2D/3D output settings
106!------------------------------------------------------------------------------
107    do3d_at_begin      = .T.,
108    do2d_at_begin      = .T.,
109
110    dt_data_output     = 50.0,
111
112
113    data_output = 'u', 'v', 'w',
114                  'Ntot', 'LDSA', 'PM2.5',
115                  's_SO4', 's_OC', 's_BC', 's_NH', 's_NO',
116                  'g_H2SO4','g_HNO3','g_NH3','g_OCNV','g_OCSV',
117                  'N_bin1', 'N_bin2', 'N_bin3', 'N_bin4', 'N_bin5',
118                  'N_bin6', 'N_bin7', 'N_bin8', 'N_bin9', 'N_bin10',
119
120 / ! end of d3par namelist
121
122
123!-------------------------------------------------------------------------------
124!-- PLANT CANOPY MODEL PARAMETER NAMELIST
125!   Documentation: https://palm.muk.uni-hannover.de/trac/wiki/doc/app/canpar
126!-------------------------------------------------------------------------------
127 &plant_canopy_parameters
128 
129    canopy_mode       = 'read_from_file_3d',
130    canopy_drag_coeff = 0.5,
131     
132 / ! end of canopy_par namelist
133
134
135!-------------------------------------------------------------------------------
136!-- SALSA PARAMETER NAMELIST
137!-------------------------------------------------------------------------------
138 &salsa_parameters 
139
140!
141!-- Time stepping
142    dt_salsa           =   4.0, ! time step for calculating aerosol processes (s)
143    skip_time_do_salsa = 100.0, ! starting time of SALSA (s)
144
145!
146!-- Concentration initial types: 0 = based on the parameter file, 1 = read from a NetCDF file
147    isdtyp    = 1, ! size distribution
148    igctyp    = 1, ! gases
149
150!
151!-- If isdtyp = 0, define the initial aerosol size distribution by dpg, sigmag and n_lognorm
152 !   dpg       = 0.01347865, 0.05400739, 0.86411863, ! mean diameter per mode (micrometres)
153 !   sigmag    =        1.8,       2.16,       2.21, ! standard deviation per mode
154 !   n_lognorm =     1434.0,      445.9,      0.07,  ! number concentration per mode (#/cm3)
155
156!
157!-- If igctyp = 0, apply these initial gas concentrations                       
158 !   H2SO4_init = 5.0E12, ! sulphuric acid (#/m3)
159 !   HNO3_init  = 3.0E15, ! nitric acid (#/m3)
160 !   NH3_init   = 6.0E15, ! ammonia (#/m3)       
161 !   OCNV_init  = 1.0E14, ! non-volatile organic gases (#/m3)
162 !   OCSV_init  = 1.0E14, ! non-volatile organic gases (#/m3)
163
164!
165!-- List of activated chemical components:
166!-- NOTE! Chemical species have to be activated here even if they are not initially present!
167    listspec = 'SO4','OC','BC','NH','NO','','',  ! List of actived aerosols       
168    ! listspec = 'SO4','OC','BC','DU','SS','NO','NH',
169
170!
171!-- If isdtyp = 0, set the chemical composition of the initial particle size distribution
172 !   mass_fracs_a = 0.1, 0.4, 0.3, 0.1, 0.1, 0.0, 0.0, ! mass fractions of chemical components: soluble
173 !   mass_fracs_b = 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ! mass fractions of chemical components: insoluble
174!-- NOTE! Set everyhing to zero in mass_fracs_b if you do not want include insoluble species (default)
175
176!
177!-- Sectional presentation of the particle size distribution
178    reglim = 3.0E-9, 5.0E-8, 2.5E-6, ! limits of the subranges (m)
179    nbin   = 3, 7,                   ! number of bins per subrange
180!-- NOTE! Subrange 1 consists only of H2SO4 and/or OC
181    nf2a   = 1.0,                    ! Number fraction allocated to subrange 2a (b-bins will get 1-nf2a)
182
183!
184!-- Aerosol emissions:
185    salsa_source_mode = 'read_from_file',
186!-- NOTE! chemical components of the source have to be activated in 'listspec'
187
188!
189!-- Boundary conditions
190!-- Decycle at the left & right boundaries: initial concentration 
191!--   is copied to ghost and first three layers at both boundaries at the left boundary
192!--   and a zero gradient is set at the right boundary
193!-- Decycle at the north & south boundaries: initial concentration 
194!--   is copied to ghost and first three layers at both boundaries
195    decycle_lr     = .T.,         
196    decycle_ns     = .F.,
197    decycle_method = 'dirichlet','dirichlet','dirichlet','dirichlet', 
198    bc_salsa_b     = 'neumann', !'dirichlet',  ! surface flux requires 'neumann'
199    bc_salsa_t     = 'dirichlet',  ! top
200                                                                                           
201!
202!-- Switches for aerosol processes:
203    nldistupdate = .T.,
204    nldepo       = .T., ! Deposition master switch
205    nldepo_vege  = .T., ! Deposition on vegetation
206    nldepo_topo  = .T., ! Deposition on walls
207    nlcnd        = .T., ! Condensation master switch
208    nlcndgas     = .T., ! Condensation of precursor gases
209    nlcndh2oae   = .F., ! Condensation of H2O on aerosols                         
210    nlcoag       = .T., ! Coagulation master switch
211    nsnucl       =  1,  ! Nucleation scheme (0 = off)
212    nj3          =  1,  ! J3 parametrization for nucleation
213
214    depo_vege_type = 'zhang2001',
215    depo_topo_type = 'zhang2001',
216
217!
218!-- Other switches:
219    advect_particle_water   = .T.,   ! particle water: advect or calculate at each dt_salsa
220    feedback_to_palm        = .F.,   ! feedback to flow due to condensation of water
221    read_restart_data_salsa = .F.,   ! skip reading restart data even if it's done for the flow
222    write_binary_salsa      = .F.,   ! skip writing restart data even if it's done for the flow
223         
224 / ! end of salsa_par namelist
225
226 
Note: See TracBrowser for help on using the repository browser.