CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Where is the thermoType read in the code?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2013, 18:30
Default Where is the thermoType read in the code?
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 13
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,
h
hz283 is offline   Reply With Quote

Old   April 16, 2013, 03:55
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 17
Chris Lucas is on a distinguished road
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
Chris Lucas is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fortran code to read mesh HaKu Main CFD Forum 3 December 15, 2020 13:13
Any one send me a 2D FVM code that is easy to read? gchnhn Main CFD Forum 9 December 25, 2015 03: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 10:07


All times are GMT -4. The time now is 18:33.