|
[Sponsors] |
Access thermo package in a new reactionRate class |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 11, 2014, 07:58 |
Access thermo package in a new reactionRate class
|
#1 |
New Member
Ehsan
Join Date: May 2013
Location: Hong Kong
Posts: 5
Rep Power: 13 |
Hi
I created a new reactionRate class like LangmuirHinshelwoodReactionRate and it works very well. In the next step I need to access specie data using a pointer to reactingMixture class. But unfortunately reactionRate classes do not have direct access to mesh or object registry. So I am wondering how it is possible to give this class access to thermo package without mesh and object registry like following: Code:
const PtrList<gasHThermoPhysics> & specieThermo = dynamic_cast<const reactingMixture<gasHThermoPhysics>&> (thermo).speciesData(); Essy |
|
Tags |
reactionrate, thermo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 | sam.ho | OpenFOAM Installation | 35 | April 5, 2014 16:31 |
Install OF 1.6.ext on Arch based distribution | miro2000 | OpenFOAM Installation | 4 | October 9, 2013 15:39 |
OF 1.6 ext on Ubuntu 12.10 (64 bit) compilation errors | dreamilam | OpenFOAM Installation | 7 | April 21, 2013 06:43 |
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox | Stubby | OpenFOAM Installation | 8 | March 5, 2012 16:12 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |