▼Global Data | Global data are available anywhere. There are two kinds. Cantera has an assortment of constant values for physical parameters. Also, Cantera maintains a collection of global data which is specific to each process that invokes Cantera functions. This process-specific data is stored in the class Application |
Physical Constants | Cantera uses the MKS system of units. The unit for moles is defined to be the kmol. All values of physical constants are consistent with the 2018 CODATA recommendations |
Error Handling | These classes and related functions are used to handle errors and unknown events within Cantera |
▼Input File Handling | The properties of phases and interfaces are specified in text files. These procedures handle various aspects of reading these files |
▼Diagnostic Output | Writing diagnostic information to the screen or to a file. It is often useful to be able to write diagnostic messages to the screen or to a file. Cantera a set of procedures for this purpose designed to write text messages to the screen to document the progress of a complex calculation, such as a flame simulation |
Writing messages to the screen | |
Writing messages to the screen | |
Templated Utility Functions | These are templates to perform various simple operations on arrays. Note that the compiler will inline these, so using them carries no performance penalty |
Chemical Equilibrium | |
Equilfunctions | |
▼Chemical Kinetics | |
Falloff Parameterizations | This section describes the parameterizations used to describe the fall-off in reaction rate constants due to intermolecular energy transfer |
Kinetics Managers | |
▼Surface Problem Solver Methods | |
Surface Problem Bulk Phase Mode | Functionality expected from the bulk phase. This changes the equations that will be used to solve for the bulk mole fractions |
Stoichiometry | Note: these classes are designed for internal use in class ReactionStoichManager |
Numerical Utilities within Cantera | Cantera contains some capabilities for solving nonlinear equations and integrating both ODE and DAE equation systems in time. This section describes these capabilities |
ODE Integrators | |
One-Dimensional Reacting Flows | These classes comprise Cantera's ability to solve steady-state one- dimensional reacting flow problems, such as laminar flames, opposed flow diffusion flames, and stagnation flow chemical vapor deposition |
▼Models of Phases of Matter | These classes are used to represent the composition and state of a single phase of matter. Together these classes form the basis for describing the species and element compositions of a phase as well as the stoichiometry of each species, and for describing the current state of the phase. They do not in themselves contain Thermodynamic equation of state information. However, they do comprise all of the necessary background functionality to support thermodynamic calculations (see Thermodynamic Properties) |
Electric Properties of Phases | Computation of the electric properties of phases |
Transport Properties for Species in Phases | |
▼Thermodynamic Properties | These classes are used to compute the thermodynamic properties of phases of matter. The main base class for describing thermodynamic properties of phases within Cantera is called ThermoPhase. ThermoPhase is a large class that describes the interface within Cantera to Thermodynamic functions for a phase |
Species Standard-State Thermodynamic Properties | In this module we describe Cantera's treatment of pressure dependent standard states (PDSS) objects. These are objects that calculate the standard state of a single species that depends on both temperature and pressure |
Species Reference-State Thermodynamic Properties | To compute the thermodynamic properties of multicomponent solutions, it is necessary to know something about the thermodynamic properties of the individual species present in the solution. Exactly what sort of species properties are required depends on the thermodynamic model for the solution. For a gaseous solution (i.e., a gas mixture), the species properties required are usually ideal gas properties at the mixture temperature and at a reference pressure (almost always at 1 bar). For other types of solutions, however, it may not be possible to isolate the species in a "pure" state. For example, the thermodynamic properties of, say, Na+ and Cl- in saltwater are not easily determined from data on the properties of solid NaCl, or solid Na metal, or chlorine gas. In this case, the solvation in water is fundamental to the identity of the species, and some other reference state must be used. One common convention for liquid solutions is to use thermodynamic data for the solutes in the limit of infinite dilution within the pure solvent; another convention is to reference all properties to unit molality |