pmutt.cantera.phase.IdealGas
- class pmutt.cantera.phase.IdealGas(name, species=None, initial_state=None, kinetics=None, reactions=None, transport=None, options=None, note=None)
Bases:
Phase
Expresses ideal gas as Cantera CTI file. Inherits from
Phase
.- species
Species present in Phase
- Type:
list of
_ModelBase
objects
- reactions
Source of reactions. If any reactions in CTI file occur in this phase, specify ‘all’. Default is None.
- Type:
str, optional
- initial_state
Currently not supported. Gives ability to set initial temperature, pressure or other operating variables of the phase. Default is None.
- Type:
None, optional
- kinetics
Currently not supported. Gives ability to specify reaction kinetics to use for phase. Default is None.
- Type:
None, optional
- transport
Currently not supported. Gives ability to specify transport model to use for phase. Default is None.
- Type:
None, optional
- options
Currently not supported. Specify special options to the phase. Default is None.
- Type:
None, optional
- __init__(name, species=None, initial_state=None, kinetics=None, reactions=None, transport=None, options=None, note=None)
Methods
__init__
(name[, species, initial_state, ...])append_species
(val)extend_species
(val)index_species
(name)pop_species
(i)remove_species
(name)to_cti
([max_line_len, delimiter])Writes the object in Cantera's CTI format.
Writes the object in Cantera's CTI format.
Attributes
- 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
- to_cti(max_line_len=80, delimiter='_')
Writes the object in Cantera’s CTI format.
- to_omkm_yaml()
Writes the object in Cantera’s CTI format.
- Returns:
Dictionary compatible with Cantera’s YAML format
- Return type:
yaml_dict