CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Weighted Sum of Gray Gas Model (https://www.cfd-online.com/Forums/openfoam/106325-weighted-sum-gray-gas-model.html)

Marshak August 25, 2012 05:39

Weighted Sum of Gray Gas Model
 
I am using fireFoam solver with radiation modelling. For absorption emission I am using weighted Sum of Gray Gas Model (WSGGM). The WSGGM model uses 'hsReactionThermo' for thermophysical properties.

const hsReactionThermo& thermo= mesh_.lookupObject<hsReactionThermo>("thermophysic alProperties");


But when I run the case I get the follwoing error:



--> FOAM FATAL ERROR:

lookup of thermophysicalProperties from objectRegistry region0 successful
but it is not a hsReactionThermo, it is a hsPsiMixtureThermo<singleStepReactingMixture<gasTh ermoPhysics>>

From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/pundo/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 114.

FOAM aborting


All times are GMT -4. The time now is 01:47.