= Chemistry model parameters = [[TracNav(doc/app/partoc|nocollapse)]] ==== [#steering Steering] ==== ==== [#string2 String2] ==== ==== [#string3 String3] ==== 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. The main routines and the Driver of the chemistry module is included in chemistry_model_mod.f90. The module chem_gasphase_mod.f90, where the gas phase chemistry rate equations are solved within PALM4U depends on the chosen chemical mechanism. chem_gasphase_mod.f90 is generated by a preprocessor that is based on the Kinetic Pre-Processor KPP (Damian et al., 2002, Sandu et al., 2006), Release 2.2.3 from November 2012 (http://people.cs.vt.edu/asandu/Software/Kpp/, kpp-2.2.3.tar.gz) and an adapted version of the KPP postprocessor KP4 (Jöckel et al, 2010, https://www.geosci-model-dev.net/3/717/2010/). This adapted Version of kp4 which converts the KPP-generated code to a PALM4U module is named kpp4palm. Currently PALM-4U includes the following sample of chemistry mechanisms:[[BR]] CBM4: Carbon Bond Mechanism (Gery et al. 1989, 32 compounds, 81 reactions)[[BR]] SMOG: Photochemical smog mechanism (13 compounds, 12 reactions)[[BR]] SIMPLE: Simplified versio of SMOG (9 compounds, 7 reactions)[[BR]] PHSTAT: Photo-stationary state (3 compounds, 2 reactions)[[BR]] Additionally 'mechanisms' are availble that describes the transport of one and two passive tracers[[BR]] PASSIVE1: Passive tracers (1 compound, 0 reactions)[[BR]] PASSIVE: Passive tracers (2 compounds, 0 reactions)[[BR]] and the mechanisms mentiones above plus one passive Tracer (e.g SIMPLE: Simplified of SMOG plus one Tracer named PM10 (10 compounds, 7 reactions)[[BR]] For details about preparing a chem_gasphase_mod.f90 for different chemical mechanism than the one that comes with checkout of PALM4U (currently PASSIVE) see Readme_KPP4PALM.odt in the PALM4U subdirectory UTIL/chemistry/gasphase_preproc. Chemistry is automatically activated when a {{{chemistry_parameters}}} namelist is set in the parameter file ({{{_p3d}}}). A brief description of the chemistry model will follow here (see [wiki:doc/app/lsmpar#LandSurfaceParameters LSM description] as an example). \\\\ NAMELIST group name: [=#chempar '''chemistry_parameters''']\\ NAMELIST /chemistry_parameters/ [[BR]] bc_cs_b, &[[BR]] bc_cs_t, &[[BR]] call_chem_at_all_substeps, &[[BR]] chem_debug0, &[[BR]] chem_debug1, &[[BR]] chem_debug2, &[[BR]] chem_gasphase_on, &[[BR]] cs_heights, &[[BR]] cs_name, &[[BR]] cs_profile, &[[BR]] cs_profile_name, &[[BR]] cs_surface, &[[BR]] cs_surface_initial_change, &[[BR]] cs_vertical_gradient_level, &[[BR]] daytype_mdh, &[[BR]] decycle_chem_lr, &[[BR]] decycle_chem_ns, &[[BR]] decycle_method, &[[BR]] do_emis &[[BR]] emiss_factor_main, &[[BR]] emiss_factor_side, &[[BR]] icntrl, &[[BR]] main_street_id, &[[BR]] max_street_id, &[[BR]] mode_emis, &[[BR]] my_steps, &[[BR]] nest_chemistry, &[[BR]] rcntrl, &[[BR]] side_street_id, &[[BR]] photolysis_scheme, &[[BR]] wall_csflux, &[[BR]] cs_vertical_gradient, &[[BR]] top_csflux, &[[BR]] surface_csflux, &[[BR]] surface_csflux_name, &[[BR]] time_fac_type, &[[BR]] ---- \\\\ [=#steering '''Steering:]\\ ||='''Parameter Name''' =||='''[[../fortrantypes|FORTRAN]]\\[[../fortrantypes|Type]]''' =||='''Default\\Value''' =||='''Explanation''' =|| |---------------- {{{#!td style="vertical-align:top; width: 150px" [=#cs_surface '''cs_surface'''] }}} {{{#!td style="vertical-align:top; width: 50px" R }}} {{{#!td style="vertical-align:top; width: 75px" 0.0 }}} {{{#!td Concentration value for chemical species at the surface.\\\\ Here, a detailed description follows...Maybe also link to an example input file. }}} |----------------