CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Where is the thermoType read in the code?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 6, 2013, 18:30
Default Where is the thermoType read in the code?
Senior Member
Join Date: Nov 2012
Posts: 168
Rep Power: 7
hz283 is on a distinguished road
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,
hz283 is offline   Reply With Quote

Old   April 16, 2013, 03:55
Senior Member
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 11
Chris Lucas is on a distinguished road

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,
Chris Lucas is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any one send me a 2D FVM code that is easy to read? gchnhn Main CFD Forum 9 December 25, 2015 04:29
fortran code to read mesh HaKu Main CFD Forum 1 June 9, 2011 17:29
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10
own Code vs. commercial code Bernhard Mueck Main CFD Forum 10 February 16, 2000 11:07

All times are GMT -4. The time now is 10:39.