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

Where is the thermoType read in the code?

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

Reply
 
LinkBack Thread Tools 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: 168
Rep Power: 3
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: 197
Rep Power: 7
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

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 8 March 11, 2013 01:23
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 10:07


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