CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Accessing species thermo data in OF 1.6 (https://www.cfd-online.com/Forums/openfoam-programming-development/67473-accessing-species-thermo-data-1-6-a.html)

dominik_christ August 16, 2009 04:02

Accessing species thermo data in OF 1.6
 
Hello everyone,

just as I'm trying to port my solvers to OF 1.6, I came across a big obstacle:

Im OF 1.5 I could access species thermodynamic data ( e. g. cp, H(T) ) through chemistryModel->PtrList<specieThermo> . If I look at the combustion solvers in OF 1.6 they are using e.g. psiChemistyModel or rhoChemistryModel which inherit from basicChemistryModel and have no member function which I could use to access specie thermo data.

The same problem seems to be access to reaction data (e.g. stoichiometric coeffs).

If someone knows a way to solve this, it would be a great help.
Thanks in advance!

Regards,
Dominik


All times are GMT -4. The time now is 21:54.