CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   ReactingFoam error (

prashant24983 October 3, 2007 09:05

Hello everyone, I had been
Hello everyone,

I had been trying to solve a sample reactingFoam case without reactions. For this I removed the chemical reactions but retained the species from the chemkin file and changed few patches too. Everything appears alright to me but there seems to be some error in the "0" Directory which says that it has not been implemented properly. I get the following error while working with the solver.

Create time

Create mesh for time = 0

Reading chemistry properties

Reading environmentalProperties

Reading thermophysicalProperties
Selecting thermodynamics package hMixtureThermo<reactingmixture>

--> FOAM FATAL ERROR : Not implemented#0 Foam::error::printStack(Foam: in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/"
#1 Foam::error::abort() in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/"
#2 Foam::defaultFvPatchField<double>::defaultFvPatchF ield(Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/"
#3 Foam::fvPatchField<double>::addpatchConstructorToT able<foam::defaultfvpatchfield <double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/"
#4 Foam::fvPatchField<double>::New(Foam::word const&, Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/reactingFoam"
#5 Foam::GeometricField<double,>::GeometricBoundaryFi eld::GeometricBoundaryField(Fo am::fvBoundaryMesh const&, Foam::DimensionedField<double,> const&, Foam::List<foam::word> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#6 Foam::GeometricField<double,>::GeometricField(Foam ::IOobject const&, Foam::fvMesh const&, Foam::dimensionSet const&, Foam::List<foam::word> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#7 Foam::hCombustionThermo::hCombustionThermo(Foam::f vMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#8 Foam::hMixtureThermo<foam::reactingmixture>::hMixt ureThermo(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#9 Foam::hCombustionThermo::addfvMeshConstructorToTab le<foam::hmixturethermo<foam:: reactingmixture> >::New(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#10 Foam::hCombustionThermo::New(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod"
#11 main in "/Prash/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/reactingFoam"
#12 __libc_start_main in "/lib/"
#13 Foam::regIOobject::readIfModified() in "/Prash/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/reactingFoam"

From function defaultFvPatchField<type>::defaultFvPatchField(con st fvPatch& p, const DimensionedField<type,>& iF)
in file fields/fvPatchFields/basic/default/defaultFvPatchField.C at line 50.

FOAM aborting


prashant24983 October 3, 2007 09:08

I am two non reacting gases CO
I am two non reacting gases CO and N2. The boundary condition set in the "0" Directory doesn't contain any syntax error as I see ... Thank you for your time.

gschaider October 3, 2007 15:15

Hi Prashant! Thank you. You
Hi Prashant!

Thank you. Your posting put a light in a dark day of mine (I am sorry. I shouldn't say this because I make mistakes like that all of the time and everyone is too polite to mention it). What you meant to say was "I have two non reacting ...." (everyone knew what you wanted to say, and that is what it is all about). I'll try to make it up by answering to the best of my knowledge (which isn't much)

What the message means is that the function defaultFvPatchField<type>::defaultFvPatchField is not properly implemented (because the program was never meant to reach this point). A defaultFvPatchField gets instantiated (this is the part where everyone can make fun of me, because I didn't check it properly) if you have a typo in the "type xxxx;" part of a boundary field. Could you check that (or share your boundary defintions of CO and N2 with us). This doesn't contradict your claim of syntactical correctness. If you write "type zerGradient;" instead of "type zeroGradient;" it is syntactical correct, but OF can't interpret zerGradient (making it semanticaly incorrect from OF's point of view, although you and I know what it should mean)

(who believes that everyone is more than two non reacting gases)

prashant24983 October 4, 2007 04:54

For record I am not two non re
For record I am not two non reacting gases neither am I reacting gases.

I had been checking and rechecking the boundary conditions and missed a typo which should have been fixedValue but was wrongly written as "fixedvalue".

I apolagise for the stupid question and a even stupid way of asking the question. Thanks Again Bernhard!!

(Who believes that there is always a alibi for stupidity....."Fluid hardens to solid, solid rushes to fluid. There is no wholly masculine man!!!" )

All times are GMT -4. The time now is 18:34.