Changes between Version 46 and Version 47 of doc/app/chemistry_parameters


Ignore:
Timestamp:
Oct 15, 2018 11:27:44 AM (6 years ago)
Author:
forkel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/chemistry_parameters

    v46 v47  
    345345}}}
    346346{{{#!td
    347 Selection and steering of the chemistry solver.
     347Selection 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_mof.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.
    348348
    349349Note: For input parameters equal to zero the default values of the corresponding variables are used.\\
     
    351351    ICNTRL(1) = 1: F = F(y)   Independent of T (AUTONOMOUS), = 0: F = F(t,y) Depends on T (NON-AUTONOMOUS)
    352352
    353     ICNTRL(2) = 0: AbsTol, RelTol are N-dimensional vectors, = 1: AbsTol,RelTol are scalars
    354 
    355     ICNTRL(3)  -> selection of a particular Rosenbrock method
    356          0 :    Rodas3 (default)
    357          1 :    Ros2
    358          2 :    Ros3
    359          3 :    Ros4
    360          4 :    Rodas3
     353    ICNTRL(2) = 0: abstol, reltol are N-dimensional vectors, = 1: Abstol, Reltol are scalars
     354
     355    ICNTRL(3)  -> selection of a particular Rosenbrock method\\
     356         0 :    Rodas3 (Default from KPP)\\
     357         1 :    Ros2 (Simplest Rosenbrock solver, will also do)\\
     358         2 :    Ros3\\
     359         3 :    Ros4\\
     360         4 :    Rodas3\\
    361361         5 :    Rodas4
    362362
    363363    ICNTRL(4)  -> maximum number of integration steps; For ICNTRL(4) =0) the default value of 100000 is used
     364
     365Example:\\
     366    icntrl(3)                  = 1,   ! ros2 (a bit less time consuming than the Rodas3 solver recommended by KPP) \\
     367    icntrl(4)                  = 500, ! berlin setup  max. number of chem-substeps\\
    364368
    365369See http://people.cs.vt.edu/asandu/Software/Kpp/
     
    457461Steering of the chemistry solver.
    458462
    459 RCNTRL(1)  -> Hmin,lower bound for the integration step size. It is strongly recommended to keep Hmin = ZERO
    460 
    461 RCNTRL(2)  -> Hmax,upper bound for the integration step size
    462 
    463 RCNTRL(3)  -> Hstart,starting value for the integration step size
    464 
    465 RCNTRL(4)  -> FacMin (lower bound on step decrease factor, default=0.2); RCNTRL(5)  -> FacMax (upper bound on step increase factor, default=6); RCNTRL(6)  -> FacRej (step decrease factor after multiple rejections)
    466 
    467 RCNTRL(7)  -> FacSafe (by which the new step is slightly smaller than the predicted value, default=0.9)
     463RCNTRL(1)  -> Hmin, lower bound for the integration step size. It is strongly recommended to keep Hmin = ZERO
     464
     465RCNTRL(2)  -> Hmax, upper bound for the integration step size
     466
     467RCNTRL(3)  -> Hstart, starting value for the integration step size
     468
     469RCNTRL(4)  -> Facmin (lower bound on step decrease factor, default=0.2)
     470
     471RCNTRL(5)  -> Facmax (upper bound on step increase factor, default=6)
     472
     473RCNTRL(6)  -> Facrej (step decrease factor after multiple rejections)
     474
     475RCNTRL(7)  -> Facsafe (by which the new step is slightly smaller than the predicted value, default=0.9)
    468476
    469477See http://people.cs.vt.edu/asandu/Software/Kpp/
     478
     479Example:\\
     480    rcntrl(3)                  = 0.1, ! hstart in sec. Setting of hstart can result in savoings of computstinal time of 30% and more.
     481
    470482}}}
    471483|----------------