|April 6, 2013, 18:30||
Where is the thermoType read in the code?
Join Date: Nov 2012
Posts: 168Rep Power: 4
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.
|April 16, 2013, 03:55||
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 198Rep Power: 7
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.
|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 11:07|