Dear all,
I am not sure if there are many users left in this group, however, I
have the following problem while using Cantera:
I am calculating multiphase equilibria. The data for some species are
not valid for the whole temperature range of interest. Therefore I
wanted to check this within the script -to avoid errors- using the
maxTemp() and minTemp() functions.
(My mixture is named mix.)
I all ways get the following error in Python:
------------------------------------------------
mix.maxTemp()
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
mix.maxTemp()
File "c:\python25\lib\site-packages\Cantera\mixture.py", line 184,
in maxTemp
return _cantera.mix_maxTemp(self._index)
AttributeError: Mixture instance has no attribute '_index'
>>>
------------------------------------------------
Is the syntax wrong? Or anything else?
It would be nice if anybody could help.
Regards
Burak