pmutt.cantera.phase.Phase

class pmutt.cantera.phase.Phase(name, species=None, initial_state=None, kinetics=None, transport=None, reactions=None, options=None, note=None)

Bases: object

Parent class for Cantera phases

name

Name of the phase

Type:

str

species

Species present in Phase. Default is an empty list

Type:

list of _ModelBase objects, optional

initial_state

Dictionary of initial mole fractions. Default is None

Type:

dict, optional

kinetics

Kinetics model to use for phase. Default is None

Type:

Kinetics object, optional

transport

Transport model to use for transport. Default is None

Type:

Transport object, optional

reactions

Reactions associated with phase. Default is None

Type:

list of SurfaceReaction, optional

options

Additional options. Default is None

Type:

dict, optional

note

Note about the phase. Default is None.

Type:

str, optional

elements

Not supplied during initialization. Attribute derived from species attribute.

Type:

set

__init__(name, species=None, initial_state=None, kinetics=None, transport=None, reactions=None, options=None, note=None)

Methods

__init__(name[, species, initial_state, ...])

append_species(val)

clear_species()

copy_species()

extend_species(val)

index_species(name)

pop_species(i)

remove_species(name)

Attributes

elements

species

species_names

append_species(val)
clear_species()
copy_species()
property elements
extend_species(val)
index_species(name)
pop_species(i)
remove_species(name)
property species
property species_names