|
[Sponsors] |
October 3, 2007, 10:05 |
Hello everyone,
I had been
|
#1 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
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 |
|
October 3, 2007, 10:08 |
I am two non reacting gases CO
|
#2 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
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.
|
|
October 3, 2007, 16:15 |
Hi Prashant!
Thank you. You
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
October 4, 2007, 05:54 |
For record I am not two non re
|
#4 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
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!!!" ) |
|
|
|
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 |