예제 #1
0
    def gibbs_RT(self, species = []):
        """Pure species non-dimensional Gibbs free energies.

        This method returns an array containing the pure-species
        standard-state Gibbs free energies divided by R.
        For gaseous species, these are ideal gas values."""
        grt = (_cantera.thermo_getarray(self._phase_id,23)
                - _cantera.thermo_getarray(self._phase_id,24))
        return self.selectSpecies(grt, species)
예제 #2
0
 def gibbs_RT(self, species=[]):
     """Pure species non-dimensional Gibbs free energies.
     
     This method returns an array containing the pure-species
     standard-state Gibbs free energies divided by R.
     For gaseous species, these are ideal gas values."""
     grt = (_cantera.thermo_getarray(self._phase_id, 23) -
            _cantera.thermo_getarray(self._phase_id, 24))
     return self.selectSpecies(grt, species)
예제 #3
0
 def entropies_R(self, species=[]):
     """Pure species non-dimensional entropies.
     
     This method returns an array containing the pure-species
     standard-state entropies divided by R. For gaseous species,
     these values are ideal gas entropies."""
     sr = _cantera.thermo_getarray(self._phase_id, 24)
     return self.selectSpecies(sr, species)
예제 #4
0
 def enthalpies_RT(self, species=[]):
     """Pure species non-dimensional reference state enthalpies.
     
     This method returns an array containing the pure-species
     standard-state enthalpies divided by RT. For gaseous species,
     these values are ideal gas enthalpies."""
     hrt = _cantera.thermo_getarray(self._phase_id, 23)
     return self.selectSpecies(hrt, species)
예제 #5
0
    def entropies_R(self, species = []):
        """Pure species non-dimensional entropies.

        This method returns an array containing the pure-species
        standard-state entropies divided by R. For gaseous species,
        these values are ideal gas entropies."""
        sr = _cantera.thermo_getarray(self._phase_id,24)
        return self.selectSpecies(sr, species)
예제 #6
0
    def enthalpies_RT(self, species = []):
        """Pure species non-dimensional reference state enthalpies.

        This method returns an array containing the pure-species
        standard-state enthalpies divided by RT. For gaseous species,
        these values are ideal gas enthalpies."""
        hrt = _cantera.thermo_getarray(self._phase_id,23)
        return self.selectSpecies(hrt, species)
예제 #7
0
 def cp_R(self, species=[]):
     """Pure species non-dimensional heat capacities
     at constant pressure.
     
     This method returns an array containing the pure-species
     standard-state heat capacities divided by R. For gaseous
     species, these values are ideal gas heat capacities."""
     cpr = _cantera.thermo_getarray(self._phase_id, 25)
     return self.selectSpecies(cpr, species)
예제 #8
0
 def chemPotentials(self, species=[]):
     """Species chemical potentials.
     
     This method returns an array containing the species
     chemical potentials [J/kmol]. The expressions used to
     compute these depend on the model implemented by the
     underlying kernel thermo manager."""
     mu = _cantera.thermo_getarray(self._phase_id, 20)
     return self.selectSpecies(mu, species)
예제 #9
0
    def cp_R(self, species = []):
        """Pure species non-dimensional heat capacities
        at constant pressure.

        This method returns an array containing the pure-species
        standard-state heat capacities divided by R. For gaseous
        species, these values are ideal gas heat capacities."""
        cpr = _cantera.thermo_getarray(self._phase_id,25)
        return self.selectSpecies(cpr, species)
예제 #10
0
    def chemPotentials(self, species = []):
        """Species chemical potentials.

        This method returns an array containing the species
        chemical potentials [J/kmol]. The expressions used to
        compute these depend on the model implemented by the
        underlying kernel thermo manager."""
        mu = _cantera.thermo_getarray(self._phase_id,20)
        return self.selectSpecies(mu, species)
예제 #11
0
    def elementPotentials(self, elements=[]):
        """Element potentials of the elements.
        
        This method returns an array containing the element potentials
        [J/kmol]. The element potentials are only defined for
        equilibrium states. This method first sets the composition to
        a state of equilibrium holding T and P constant, then computes
        the element potentials for this equilibrium state.  """

        lamb = _cantera.thermo_getarray(self._phase_id, 21)
        return self.selectElements(lamb, elements)
예제 #12
0
    def elementPotentials(self, elements = []):
        """Element potentials of the elements.

        This method returns an array containing the element potentials
        [J/kmol]. The element potentials are only defined for
        equilibrium states. This method first sets the composition to
        a state of equilibrium holding T and P constant, then computes
        the element potentials for this equilibrium state.  """

        lamb = _cantera.thermo_getarray(self._phase_id,21)
        return self.selectElements(lamb, elements)