Version 13 (modified by westbrink, 6 years ago) (diff) |
---|
Chemistry model (CHEM)
Main page of the chemistry model under construction. Click here for first information about capabilities and model steering.
Chemistry model parameters
TracNav
Core Parameters
Module Parameters
- Agent system
- Aerosol (Salsa)
- Biometeorology
- Bulk cloud physics
- Chemistry
- FASTv8
- Indoor climate
- Land surface
- Nesting
- Nesting (offline)
- Ocean
- Particles
- Plant canopy
- Radiation
- Spectra
- Surface output
- Synthetic turbulence
- Turbulent inflow
- Urban surface
- User-defined
- Virtual flights
- Virtual measurements
- Wind turbine
- Alphabetical list (outdated!)
Overview
Since Version 5.0 a chemistry model is available in PALM which computes chemical conversion and tranport of reactive trace gases. In addition, this module permits also the simulation of passive compounds in the gas phase and particulate matter. This documentation contains several sections:
- INPUT
- List of all namelist parameters that can be used to steer the MAS
The chemistry model is automatically activated when a chemistry_parameters namelist is included in the parameter file (<run_identifier>_p3d).
Click on any icon below to get to the respective part of the documentation.
Parameter list
NAMELIST group name: chemistry_parameters
Parameter Name | FORTRAN? Type? | Default Value | Explanation |
---|---|---|---|
bc_cs_b | C*20 | 'dirichlet' | Bottom boundary condition of the chemical species (cs) concentration. Allowed values are 'dirichlet' (cs(k=0) = const. = cs_surface + cs_surface_initial_change; When a constant surface concentration flux is used (surface_csflux) or emissions are applied (do_emis = .T.), bc_cs_b = 'neumann' must be used. |
bc_cs_t | C*20 | 'initial_gradient' | Top boundary condition of the scalar concentration. Allowed are the values 'dirichlet' (cs(k=nz+1) does not change during the run), 'neumann' (cs(k=nz+1) = cs(k=nz)), and 'initial_gradient' . With the 'initial_gradient' boundary condition the value of the scalar concentration gradient at the top is calculated from the initial scalar concentration profile (see cs_surface, cs_vertical_gradient) by: bc_cs_t_val = (cs_init(k=nz) - ss_init(k=nz-1)) / dzu(nz). Using this value (assumed constant during the run) the concentration boundary values are calculated as cs(k=nz+1) = cs(k=nz) + bc_cs_t_val * dzu(nz+1) (up to k=nz the prognostic equation for the chemical species concentration is solved). When a constant cs flux is used at the top boundary (top_csflux), bc_cs_t = 'neumann' must be used, because otherwise the resolved scale may contribute to the top flux so that a constant value cannot be guaranteed. |
call_chem_at_all_substeps | L | .FALSE. | Switch whether chemistry is called at each substep of the Runge-Kutta scheme or just at each full dynamical time step 'dt'. The latter will do since the chemistry solvers are using their own timestep steering. |
chem_debug0 | L | .FALSE. | Extra print output of chemistry variables. |
chem_gasphase_on | L | .TRUE. | Switch for switching off the chemical reactions but still doing the transport for all chemical compounds. Useful for test purposes. |
chem_mechanism | C*30 | 'phstatp' | Parameter for check of chemistry mechanism: The Setting in the namelist must match with the mechanism in the code, i.e. in chem_gasphase_mod.f90. chem_mechanism = 'phstatp' matches with the chemistry mechanism in chem_gasphase_mod.f90 that comes with PALM-4U when it is downloaded. |
cs_heights | R(99,100) | 9999999.9 |
Height levels above ground (in m) to go with cs_profile in order to define initial profiles of chemical species.
The first index refers to the chemical compound, the second to height level.
Example: |
cs_name | C*11(99) | 'novalue' |
Names of chemical species where surface concentrations or concentration profiles (cs_profile) are prescribed.
Example: |
cs_profile | R(99,100) | 9999999.9 |
Concentration values of chemical species (gases in ppm, particulate matter in kg m-3) at cs_heights. |
cs_surface | R | 0.0 | Concentration value for chemical species at the surface (gases in ppm, particulate matter in kg m-3). |
daytype_mdh | C*80 | Type of weekday required for the MDH (MonthDayHour) case of the DEFAULT mode of the emissions module. Possible values are: workday, weekend, holiday | |
decycle_chem_lr | L | .FALSE. | Cyclic boundary conditions for chemistry may result in accumluation of chemical compounds. If decycle_chem_lr is set to true, initial concentration values are fixed at the left or right inflow boundary. |
decycle_chem_ns | L | .FALSE. | Cyclic boundary conditions for chemistry may result in accumluation of chemical compounds. If decycle_chem_ns is set to true, initial concentration values are fixed at the southern or northern inflow boundary. |
decycle_method | C*20(4) | 'dirichlet' |
Decycling method at horizontal boundaries (1=left, 2=right, 3=south, 4=north)
|
do_depo | L | .FALSE. | Switches the deposition calculation for particles and gases ON (.TRUE.) or OFF (.FALSE.) |
do_emis | L | .FALSE. | Switches the chem_emission module ON (.TRUE.) or OFF (.FALSE.) |
emiss_factor_main | R(99) | -9999.0 | Constant emission scaling factor for MAIN street types, used in the PARAMETERIZED mode of chem_emission module. The number and the order of the values has to correspond to the names of the emission species provided for surface_csflux_name. |
emiss_factor_side | R(99) | -9999.0 | Constant emission scaling factor for SIDE (secondary) street types, used in the PARAMETERIZED mode of chem_emission module. The number and the order of the values has to correspond to the names of the emission species provided for surface_csflux_name. |
icntrl | I(20) | 0 | Selection and steering of the chemistry solver. In order to offer more control over the integrator, the KPP-generated Integrator subroutine (e.g. SUBROUTINE rosenbrock in chem_gasphase_mod.f90) provides the optional input parameters ICNTRL_U and RCNTRL_U. Each of them is an array of 20 elements that allow the fine-tuning of the integrator, e.g. by setting a particular Integrator method, tolerances, minimum and maximum step sizes, etc.
Note: For input parameters equal to zero the default values of the corresponding variables are used.
Example:
|
main_street_id | I(99) | 0 | Index for identifying MAIN streets following street type classes from OpenStreetMap. |
max_street_id | I(99) | 0 | Maximum index value for identifying ALL (MAIN and SIDE) streets following street type classes from OpenStreetMap. |
mode_emis | C*80 | 'PARAMETERIZED' |
Mode of chemistry emissions.
At the moment the values have to be in capital letters. |
my_steps | I(50) | 0 |
List of fixed timesteps: my_step(1) = 0.0 automatic stepping |
nest_chemistry | L | .TRUE. | Flag for nesting mode of chemical species, independent on parent or not. |
photolysis_scheme | C*10 | 'simple' | Currently two somple photolysis Options are available: 'constant' and 'simple'
|
rcntrl | R(20) | 0.0 and see below | Steering of the chemistry solver.
See http://people.cs.vt.edu/asandu/Software/Kpp/
Example:
|
side_street_id | I(99) | 0 | Index for identifying SIDE streets following street type classes from 'OpenStreetMap?'. |
surface_csflux | R(99) | 0.0 | Values of surface fluxes of chemistry emissions to be used in the PARAMETERIZED mode. The number and the order of the values has to correspond to the names of the emission species provided to surface_csflux_name. Units of the input values differ between gases and PMs. In the first case, emissions must be provided in micromole/m2*s, while for PMs, input emission values have to be in kg/m2*s. |
surface_csflux_name | C*11(99) | 'novalue' |
Names of chemical species which are emitted. Required only for mode_emis = 'PARAMETERIZED'. |
time_fac_type | C*80 | MDH | Type of time treatment for DEFAULT mode of the chem_emission module. Possible values are: HOUR or MDH |
Attachments (8)
- Readme_KPP4PALM.pdf (131.1 KB) - added by westbrink 6 years ago.
- chem_emissions_PALM4U.pdf (112.9 KB) - added by westbrink 6 years ago.
- Button_Emissions.png (58.9 KB) - added by westbrink 6 years ago.
- Button_InputPara.png (58.7 KB) - added by westbrink 6 years ago.
- Button_Overview.png (49.6 KB) - added by westbrink 6 years ago.
- Button_References.png (49.4 KB) - added by westbrink 6 years ago.
- Button_ExampleSetup.png (56.0 KB) - added by westbrink 6 years ago.
- Button_Chemistrymech.png (50.0 KB) - added by westbrink 6 years ago.
Download all attachments as: .zip