Exemplo n.º 1
0
 def netProductionRates(self, phase = None):
     w = _cantera.kin_getarray(self.ckin,70)
     if phase:
         kp = phase.thermophase()
         if self._phnum.has_key(kp):
             n = self._phnum[kp]
             return w[self._end[n]:self._end[n+1]]
         else:
             raise CanteraError('unknown phase')
     else:
         return w
Exemplo n.º 2
0
 def netProductionRates(self, phase=None):
     w = _cantera.kin_getarray(self.ckin, 70)
     if phase:
         kp = phase.thermophase()
         if self._phnum.has_key(kp):
             n = self._phnum[kp]
             return w[self._end[n]:self._end[n + 1]]
         else:
             raise CanteraError('unknown phase')
     else:
         return w
Exemplo n.º 3
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin,34)
Exemplo n.º 4
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin,32)
Exemplo n.º 5
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin,40)
Exemplo n.º 6
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,30)
Exemplo n.º 7
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,20)
Exemplo n.º 8
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 10)
Exemplo n.º 9
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin,80)
Exemplo n.º 10
0
 def revRateConstants(self, doIrreversible=0):
     """Reverse rate constants for all reactions."""
     if doIrreversible:
         return _cantera.kin_getarray(self.ckin, 35)
     else:
         return _cantera.kin_getarray(self.ckin, 36)
Exemplo n.º 11
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin, 34)
Exemplo n.º 12
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin, 32)
Exemplo n.º 13
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin, 40)
Exemplo n.º 14
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 30)
Exemplo n.º 15
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 20)
Exemplo n.º 16
0
 def revRateConstants(self, doIrreversible = 0):
     """Reverse rate constants for all reactions."""
     if doIrreversible:
         return _cantera.kin_getarray(self.ckin,35)
     else:
         return _cantera.kin_getarray(self.ckin,36)
Exemplo n.º 17
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin, 80)
Exemplo n.º 18
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,10)
Exemplo n.º 19
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)
Exemplo n.º 20
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)