CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   reactingFoam - turbulent reacting flow (http://www.cfd-online.com/Forums/openfoam/70832-reactingfoam-turbulent-reacting-flow.html)

hamburgFoam December 7, 2009 13:57

reactingFoam - turbulent reacting flow
 
Hello FoamFriends,

I am a freshman at OpenFoam and trying to impliment a turbulent reacting flow. my idea was to use the reactingFoam solver.

My case:
i have zylinder with a fuel (CH4) inlet, an air inlet and a coflow inlet. at the other end of the zylinder is an outlet.

first of all i implimented a simpleFoam case just with a velocity field (without the reaction). that works fine. so, now i am trying to add the reaction.

i was trying to run the reactingFoam tutorial (http://openfoamwiki.net/index.php/Tu..._firstTutorial). i updated the path of the "chem.inp" and "therm.dat" files as describe and run the case. after the there was a error message.

"keyword psiChemistryModel is undefined in dictionary"

so, i added the keyword as in the dieselFoam tutorial.

"psiChemistryModel ODEChemistryModel<gasThermoPhysics>;"

another error message came up.

Reading chemistry properties


Reading g

Reading thermophysicalProperties
Selecting psiChemistryModel ODEChemistryModel<gasThermoPhysics>
Selecting thermodynamics package hPsiMixtureThermo<reactingMixture<gasThermoPhysics >>
Selecting chemistryReader chemkinReader
#0 Foam::error::printStack(Foam::Ostream&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::DimensionedField<double, Foam::volMesh>::operator/=(Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>:
perator/=(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#5 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::correctMassFractions() in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#6 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::multiComponentMixture(Foam::dictionary const&, Foam::List<Foam::word> const&, Foam::HashPtrTable<Foam::sutherlandTransport<Foam: :specieThermo<Foam::janafThermo<Foam::perfectGas> > >, Foam::word, Foam::string::hash> const&, Foam::fvMesh const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#7 Foam::reactingMixture<Foam::sutherlandTransport<Fo am::specieThermo<Foam::janafThermo<Foam::perfectGa s> > > >::reactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#8 Foam::hPsiMixtureThermo<Foam::reactingMixture<Foam ::sutherlandTransport<Foam::specieThermo<Foam::jan afThermo<Foam::perfectGas> > > > >::hPsiMixtureThermo(Foam::fvMesh const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#9 Foam::hCombustionThermo::addfvMeshConstructorToTab le<Foam::hPsiMixtureThermo<Foam::reactingMixture<F oam::sutherlandTransport<Foam::specieThermo<Foam:: janafThermo<Foam::perfectGas> > > > > >::New(Foam::fvMesh const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#10 Foam::hCombustionThermo::NewType(Foam::fvMesh const&, Foam::word const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libreactionThermophysicalModels.so"
#11 Foam:siChemistryModel:siChemistryModel(Foam::fvMes h const&, Foam::word const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libchemistryModel.so"
#12 Foam::ODEChemistryModel<Foam:siChemistryModel, Foam::sutherlandTransport<Foam::specieThermo<Foam: :janafThermo<Foam:erfectGas> > > >::ODEChemistryModel(Foam::fvMesh const&, Foam::word const&, Foam::word const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libchemistryModel.so"
#13 Foam:siChemistryModel::addfvMeshConstructorToTable <Foam::ODEChemistryModel<Foam:siChemistryModel, Foam::sutherlandTransport<Foam::specieThermo<Foam: :janafThermo<Foam:
erfectGas> > > > >::New(Foam::fvMesh const&, Foam::word const&, Foam::word const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libchemistryModel.so"
#14 Foam:siChemistryModel::New(Foam::fvMesh const&) in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libchemistryModel.so"
#15 main in "/home/openfoam/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/reactingFoam"
#16 __libc_start_main in "/lib/libc.so.6"
#17 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122
Gleitkomma-Ausnahme

so, i don't know what that means. has anyone an helpfull advice for me how to fix my problem??? ...or can tell me how to fix the reactingFoam tutorial from the link above? ...or can share another reactingFoam tutorial with me?

Thanks in advance.

regards,

Ilja


All times are GMT -4. The time now is 12:07.