Changes between Version 46 and Version 47 of doc/app/chemistry_parameters
- Timestamp:
- Oct 15, 2018 11:27:44 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/chemistry_parameters
v46 v47 345 345 }}} 346 346 {{{#!td 347 Selection and steering of the chemistry solver. 347 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_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. 348 348 349 349 Note: For input parameters equal to zero the default values of the corresponding variables are used.\\ … … 351 351 ICNTRL(1) = 1: F = F(y) Independent of T (AUTONOMOUS), = 0: F = F(t,y) Depends on T (NON-AUTONOMOUS) 352 352 353 ICNTRL(2) = 0: AbsTol, RelTol are N-dimensional vectors, = 1: AbsTol,RelTol are scalars354 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\\ 361 361 5 : Rodas4 362 362 363 363 ICNTRL(4) -> maximum number of integration steps; For ICNTRL(4) =0) the default value of 100000 is used 364 365 Example:\\ 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\\ 364 368 365 369 See http://people.cs.vt.edu/asandu/Software/Kpp/ … … 457 461 Steering of the chemistry solver. 458 462 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) 463 RCNTRL(1) -> Hmin, lower bound for the integration step size. It is strongly recommended to keep Hmin = ZERO 464 465 RCNTRL(2) -> Hmax, upper bound for the integration step size 466 467 RCNTRL(3) -> Hstart, starting value for the integration step size 468 469 RCNTRL(4) -> Facmin (lower bound on step decrease factor, default=0.2) 470 471 RCNTRL(5) -> Facmax (upper bound on step increase factor, default=6) 472 473 RCNTRL(6) -> Facrej (step decrease factor after multiple rejections) 474 475 RCNTRL(7) -> Facsafe (by which the new step is slightly smaller than the predicted value, default=0.9) 468 476 469 477 See http://people.cs.vt.edu/asandu/Software/Kpp/ 478 479 Example:\\ 480 rcntrl(3) = 0.1, ! hstart in sec. Setting of hstart can result in savoings of computstinal time of 30% and more. 481 470 482 }}} 471 483 |----------------