CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

ReactingFoam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2007, 10:05
Default Hello everyone, I had been
  #1
Member
 
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17
prashant24983 is on a distinguished road
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:stream&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::defaultFvPatchField<double>::defaultFvPatchF ield(Foam::fvPatch const&, Foam::DimensionedField<double,> const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libfiniteVolume.so"
#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/libfiniteVolume.so"
#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 els.so"
#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 els.so"
#7 Foam::hCombustionThermo::hCombustionThermo(Foam::f vMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod els.so"
#8 Foam::hMixtureThermo<foam::reactingmixture>::hMixt ureThermo(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod els.so"
#9 Foam::hCombustionThermo::addfvMeshConstructorToTab le<foam::hmixturethermo<foam:: reactingmixture> >::New(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod els.so"
#10 Foam::hCombustionThermo::New(Foam::fvMesh const&) in "/Prash/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysicalMod els.so"
#11 main in "/Prash/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/reactingFoam"
#12 __libc_start_main in "/lib/libc.so.6"
#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

Aborted
prashant24983 is offline   Reply With Quote

Old   October 3, 2007, 10:08
Default I am two non reacting gases CO
  #2
Member
 
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17
prashant24983 is on a distinguished road
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.
prashant24983 is offline   Reply With Quote

Old   October 3, 2007, 16:15
Default Hi Prashant! Thank you. You
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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)

Bernhard
(who believes that everyone is more than two non reacting gases)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   October 4, 2007, 05:54
Default For record I am not two non re
  #4
Member
 
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17
prashant24983 is on a distinguished road
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!!

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

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mvConvection in reactingFoam smehdi609 OpenFOAM Running, Solving & CFD 7 April 16, 2019 11:22
ReactingFoam vassilis OpenFOAM Running, Solving & CFD 75 September 11, 2013 16:22
DieselFoam and ReactingFoam matteo_rosa_sentinella OpenFOAM Pre-Processing 4 September 28, 2009 11:35
ReactingFoam without reactions lasb OpenFOAM Running, Solving & CFD 5 June 10, 2008 09:50
ReactingFoam error in parallel torvic OpenFOAM Running, Solving & CFD 3 October 30, 2007 21:07


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