K routines

All GAMAP Routines

List routines by category:
Atmospheric Sciences | Benchmarking | Color | Date/Time | Doc | File & I/O | BPCH Format | Scientific Data Formats | GAMAP Examples | GAMAP Internals | GAMAP Utilities | GAMAP Data Manipulation | GAMAP Models & Grids | GAMAP Plotting | General | Graphics | Math & Units | Plotting | Regridding | Strings | Structures | Time Series

List routines by alphabetical order:
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Last modified: Tue Apr 4 10:50:25 2017.


List of Routines


Routine Descriptions

KNMHC

[Next Routine] [List of Routines]
 NAME:
        KNMHC

 PURPOSE:
        Returns an array of reaction rates for various non-methane 
        hydrocarbon reactions as a function of temperature and pressure.

        NOTE: Reaction rates may need updating to the latest JPL dataset.

 CATEGORY:
        Atmospheric Sciences

 CALLING SEQUENCE:
        RESULT = KNMHC( T, P [, Keywords ] )

 INPUTS:
        T -> Temperature in [K].

        P -> Pressure in [hPa].

 KEYWORD PARAMETERS:
        NAMES -> Returns to the calling program a list of the names
             for the various chemical species 

 OUTPUTS:
        RESULT -> An array of rate constants corresponding to
             the species contained in NAMES.
        

 SUBROUTINES:
        External Subroutines Required:
        ================================
        KTROE (function)

 REQUIREMENTS:
        None

 NOTES:
        (1) This should probably be rewritten to return a structure.
        (2) Definitely needs updating of rate constants.

 EXAMPLE:
        RESULT = KNMHC( 300, 1000, NAMES=NAMES  )
        PRINT, NAMES
          CO CH4 C2H2 C2H4 C2H6 C3H6 C3H8 i-BUT CH3CL
        PRINT, RESULT
          2.40000e-13  6.60071e-15  7.55980e-13  8.14644e-12  
          2.45774e-13  5.08118e-11  1.10803e-12  2.34511e-12
          3.76143e-14

             ; Compute rate constants for 300K and 1000hPa pressure

 MODIFICATION HISTORY:
        mgs, 1998?        INITIAL VERSION
  bmy & phs, 13 Jul 2007: GAMAP VERSION 2.10
                          - added std doc header
                          - updated comments, cosmetic changes

(See /n/home09/ryantosca/IDL/gamap2/atm_sci/knmhc.pro)


KTROE

[Previous Routine] [List of Routines]
 NAME:
        KTROE

 PURPOSE:
        compute reaction rate coefficient for a 3rd order reaction
        using Troe's formula as given in JPL97-4

 CATEGORY:
        Atmospheric Sciences

 CALLING SEQUENCE:
        k=KTROE(T,p,k0300,n,kinf300,m [,keywords])

 INPUTS:
        T --> temperature in K

        p --> pressure in mbars

        k0300, n --> constants to get k0(T)  { see JPL97,table 2 }

        kinf300, m --> constants to get kinf(T)  { see JPL97,table 2 }

 KEYWORD PARAMETERS:
        k0, kinf, fc --> will return individual terms of the Troe expression

 OUTPUTS:
        K -> a rate coefficient

 SUBROUTINES:
        None

 REQUIREMENTS:
        None

 NOTES:
        no error checking is done except for the correct 
        number of arguments

 EXAMPLE:

 MODIFICATION HISTORY:
        mgs, 20 Mar 1998: VERSION 1.00
  bmy & phs, 13 Jul 2007: GAMAP VERSION 2.10

(See /n/home09/ryantosca/IDL/gamap2/atm_sci/ktroe.pro)