Access the composition of species in OpenFOAM
I need to determine the number of carbon and hydrogen atoms of certain species in reactingFoam. I am using hePsiThermo as thermoType.
I looked at the documentation, and I noticed that it can be accessed through chemistry.specieComp() used in DAC.C here. However, when I use it in my code as Code:
const List<List<specieElement>>& specieComposition = Code:
./sootTest.H:44:20: error: ‘class Foam::BasicChemistryModel<Foam::psiReactionThermo>’ has no member named ‘specieComp’ Code:
autoPtr<psiReactionThermo> pThermo(psiReactionThermo::New(mesh)); |
All times are GMT -4. The time now is 21:26. |