CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Where is the thermoType read in the code? (https://www.cfd-online.com/Forums/openfoam/115785-where-thermotype-read-code.html)

hz283 April 6, 2013 18:30

Where is the thermoType read in the code?
 
Dear All,

In the solver rhoPimpleFoam, the thermodynamics models are defined in constant/ thermophysicalProperties as follows:

thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>;

I am wondering if where the themoType is read for rhoPimpleFoam. I am not proficient at C++. Thank you very much.

best regards,
h

Chris Lucas April 16, 2013 03:55

Hi,

this depends a bit on the OF Version you use (changed in OF2.2)

In the older versions (which from your post I guess you are using) have a look at $OpenFOAM/src/thermophysicalModels/basic/psiThermo/basicPsiThermo/basicPsiThermoNew.C.

Kind Regards,
Christian


All times are GMT -4. The time now is 20:38.