Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Variables
Surface Problem Solver Methods

Variables

const int SFLUX_INITIALIZE = 1
 This assumes that the initial guess supplied to the routine is far from the correct one. More...
 
const int SFLUX_RESIDUAL = 2
 Need to solve the surface problem in order to calculate the surface fluxes of gas-phase species. More...
 
const int SFLUX_JACOBIAN = 3
 Calculation of the surface problem is due to the need for a numerical Jacobian for the gas-problem. More...
 
const int SFLUX_TRANSIENT = 4
 The transient calculation is performed here for an amount of time specified by "time_scale". More...
 

Detailed Description

Variable Documentation

const int SFLUX_INITIALIZE = 1

This assumes that the initial guess supplied to the routine is far from the correct one.

Substantial work plus transient time-stepping is to be expected to find a solution.

Definition at line 24 of file solveSP.h.

Referenced by solveSP::print_header(), ImplicitSurfChem::solvePseudoSteadyStateProblem(), and solveSP::solveSurfProb().

const int SFLUX_RESIDUAL = 2

Need to solve the surface problem in order to calculate the surface fluxes of gas-phase species.

(Can expect a moderate change in the solution vector; try to solve the system by direct methods with no damping first, then try time-stepping if the first method fails). A "time_scale" supplied here is used in the algorithm to determine when to shut off time-stepping.

Definition at line 31 of file solveSP.h.

Referenced by solveSP::print_header(), and ImplicitSurfChem::solvePseudoSteadyStateProblem().

const int SFLUX_JACOBIAN = 3

Calculation of the surface problem is due to the need for a numerical Jacobian for the gas-problem.

The solution is expected to be very close to the initial guess, and accuracy is needed because solution variables have been perturbed from nominal values to create Jacobian entries.

Definition at line 37 of file solveSP.h.

Referenced by solveSP::print_header(), and solveSP::solveSurfProb().

const int SFLUX_TRANSIENT = 4

The transient calculation is performed here for an amount of time specified by "time_scale".

It is not guaranteed to be time-accurate - just stable and fairly fast. The solution after del_t time is returned, whether it's converged to a steady state or not. This is a poor man's time stepping algorithm.

Definition at line 44 of file solveSP.h.

Referenced by solveSP::print_header(), and solveSP::solveSurfProb().