|April 6, 2013, 18:30||
Where is the thermoType read in the code?
Join Date: Nov 2012
Posts: 168Rep Power: 5
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: 200Rep Power: 10
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||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|