Hello everyone,
I am working on real gas effects on transport properties and 1-D flame simulations.
I got "TypeError: ThermoPhase object is not an IdealGasPhase" error using R-K EoS and got ''NotImplementedError thrown by ThermoPhase::critTemperature:Not implemented'' error using high pressure transport model.
Based on previous discussions on this topic in our group, I understand that current code base in 1-D flame simulations need to be modified to combine real gas EoS.
To my understanding, the main changes should be
(a) partial molar enthalpy in Redlich-Kwong model should be called to calculate h_k in energy equations.
(b) Critical temperature calculation in Redlich-Kwong model should be called to be used in high pressure transport model.
(c) Onedim.py should be modified to allow real gas phase in ThermoPhase.
For (a), I think partial molar enthalpy should be easily incorporated in governing energy equations just like how activity concentration was incorporated.
So I am curious whether there were any other difficulties in this modification since previous discussions on this topic were last for three years and
real gas EoS still could not used in 1-D flame simulations in Cantera?
I am glad to contribute some effort on this part if it is not beyond my abilities. Could anyone explain my confusions and give me some advice? Thank you very much!
Sincerely,
Junfeng