CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   problem about adding another equation of state (

yhaomin2007 May 14, 2012 21:02

problem about adding another equation of state
Hi, all foamers:

I want to imply another equation of state, so I copied the prefect gas file, and renamed it.

The compilation of the is successful, then I recompiled the solver. But when I run the solver it says:


Unknown basicPsiThermo type hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<RedlichKwong>>>>>

Valid basicPsiThermo types are:

ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<constTransport<specieTherm o<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<janafThermo<perfectGas>>>>>

From function basicPsiThermo::New(const fvMesh&)
in file psiThermo/basicPsiThermo/basicPsiThermoNew.C at line 60.
it seems that I have to put the new equation of state to somewhere.

Could somebody help me with this??

thank you in advance.:p

olivierG May 15, 2012 04:17


You should take a look at this thread:


yhaomin2007 May 15, 2012 11:37

thank you very much~

yhaomin2007 May 15, 2012 13:47

hi, olivier:

I have seen the threads that you quoted. but I did not find the clear solution in it.

Do you have any ideas?

thank you

olivierG May 16, 2012 04:36


In this post you will find a step by step method.

Due to the multi layer structure in the thermoType, you need do modify more than one file. I don't know an easy "Howto" for that.


All times are GMT -4. The time now is 04:16.