|
[Sponsors] |
May 25, 2012, 12:20 |
About the thermo.rho()
|
#1 |
New Member
Qingang Xiong
Join Date: May 2012
Location: Ames, IA, USA
Posts: 20
Rep Power: 13 |
Dear,
Have anyone using reactingFoam? There is a line in the "createFields.H" that load as : 00020 volScalarField rho 00021 ( 00022 IOobject 00023 ( 00024 "rho", 00025 runTime.timeName(), 00026 mesh 00027 ), 00028 thermo.rho() 00029 ); But I haven't found function rho() in class "hsCombustionThermo". What about this? Thank you for help. |
|
May 25, 2012, 13:25 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
The termo models have several levels of templatization: have a look at
http://www.openfoam.org/docs/user/thermophysical.php I've been making some modifications to the thermo models. I believe hsCombustion inherits from hsPsiThermo (possibly hsRhoThermo) and you'll find the rho member function there. As always, the online DOxygen documentation is super helpful in cases such as these. |
|
May 29, 2012, 12:38 |
|
#3 | |
New Member
Qingang Xiong
Join Date: May 2012
Location: Ames, IA, USA
Posts: 20
Rep Power: 13 |
Quote:
Thank you for your help. I understand the structure of this thermo class. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error: no match for ´operator+=´ | megacrout | OpenFOAM | 14 | February 2, 2012 03:51 |