Cantera  3.1.0a1
Loading...
Searching...
No Matches
Surface Problem Solver Methods
Collaboration diagram for Surface Problem Solver Methods:

Detailed Description

Variables

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

Variable Documentation

◆ SFLUX_INITIALIZE

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 22 of file solveSP.h.

◆ SFLUX_RESIDUAL

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 29 of file solveSP.h.

◆ SFLUX_JACOBIAN

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 35 of file solveSP.h.

◆ SFLUX_TRANSIENT

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 42 of file solveSP.h.