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

Error running reactingFoam error PrintStack Ostream

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2014, 06:47
Default Error running reactingFoam error PrintStack Ostream
  #1
New Member
 
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12
DuarteMagalhaes is on a distinguished road
Hello,

I am using reactingFoam to run my simulation. I turned off the chemical reactions by putting "chemistry off" on "chemistryProperties" file and I am getting the following errors:


duarte@duarte-VGN-FZ39VN:~/OpenFOAM/duarte-2.3.0/run/simulation2$ #0 Foam::error:PrintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::heThermo<Foam:PsiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::su therlandTransport<Foam::species::thermo<Foam::jana fThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::he(Foam::Field<double> const&, Foam::Field<double> const&, int) const in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#4 Foam::heThermo<Foam:PsiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::su therlandTransport<Foam::species::thermo<Foam::jana fThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::init() in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#5 Foam::heThermo<Foam:PsiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::su therlandTransport<Foam::species::thermo<Foam::jana fThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::heThermo(Foam::fvMesh const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#6 Foam:PsiReactionThermo::addfvMeshConstructorToTabl e<Foam::hePsiThermo<Foam:PsiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::su therlandTransport<Foam::species::thermo<Foam::jana fThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > > >::New(Foam::fvMesh const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#7 Foam::autoPtr<Foam:PsiReactionThermo> Foam::basicThermo::New<Foam:PsiReactionThermo>(Foa m::fvMesh const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#8 Foam:PsiReactionThermo::New(Foam::fvMesh const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so"
#9 Foam:PsiChemistryModel:PsiChemistryModel(Foam::fvM esh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#10 Foam::chemistryModel<Foam:PsiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Fo am::janafThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > >::chemistryModel(Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#11 Foam::EulerImplicit<Foam::chemistryModel<Foam:PsiC hemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Fo am::janafThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::EulerImplicit(Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#12 Foam:PsiChemistryModel::addfvMeshConstructorToTabl e<Foam::EulerImplicit<Foam::chemistryModel<Foam:Ps iChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Fo am::janafThermo<Foam:PerfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::New(Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#13 Foam::autoPtr<Foam:PsiChemistryModel> Foam::basicChemistryModel::New<Foam:PsiChemistryMo del>(Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#14 Foam:PsiChemistryModel::New(Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libchemistryModel.so"
#15 Foam::combustionModels:PsiChemistryCombustion:PsiC hemistryCombustion(Foam::word const&, Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libcombustionModels.so"
#16 Foam::combustionModels::laminar<Foam::combustionMo dels:PsiChemistryCombustion>::laminar(Foam::word const&, Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libcombustionModels.so"
#17 Foam::combustionModels:PsiCombustionModel::adddict ionaryConstructorToTable<Foam::combustionModels::l aminar<Foam::combustionModels:PsiChemistryCombusti on> >::New(Foam::word const&, Foam::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libcombustionModels.so"
#18 Foam::combustionModels:PsiCombustionModel::New(Foa m::fvMesh const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libcombustionModels.so"
#19
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/reactingFoam"
#20 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#21
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/reactingFoam"

I believe all the errors are related to the first notice and from what I have understood, it is a problem of Ostream. But I am using the original solver reactingFoam, which works fine for the tutorial counterFlowFlame2D and so i dont understand this error for my simulation


This is the .log file:

"
Create time

Create mesh for time = 0


Reading g
Creating reaction model

Selecting combustion model laminar<psiChemistryCombustion>
Selecting chemistry type
{
chemistrySolver EulerImplicit;
chemistryThermo psi;
}

Selecting thermodynamics package
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Selecting chemistryReader foamChemistryReader
"

It stops here.


Any help is much appreciated!

Thank you
DuarteMagalhaes is offline   Reply With Quote

Old   July 21, 2014, 07:04
Default
  #2
New Member
 
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12
DuarteMagalhaes is on a distinguished road
Ok i think i found what is wrong.

Some of my BC's have all the mass fractions equal to zero, since they are solid walls. But how should I define the mass fractions in another way on these solid walls? :/
DuarteMagalhaes is offline   Reply With Quote

Old   July 22, 2014, 04:51
Default
  #3
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

just use zeroGradient, this means no diffusion of species towards the wall.

Tom
tomf is offline   Reply With Quote

Old   July 22, 2014, 05:26
Default
  #4
New Member
 
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12
DuarteMagalhaes is on a distinguished road
Hi, thanks for your reply Tom! I will try that
DuarteMagalhaes 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
calculate flame speed using reactingFoam IColin OpenFOAM Running, Solving & CFD 0 February 4, 2014 15:14
reactingFoam crashing rishibigghe OpenFOAM Running, Solving & CFD 0 June 14, 2011 17:50
Constant Volume Combustion with reactingFoam Alish1984 OpenFOAM Running, Solving & CFD 2 May 8, 2011 08:51
reactingFoam wedge handling wrong U dhondupant OpenFOAM Bugs 1 December 9, 2010 07:34
reactingFoam - turbulent reacting flow hamburgFoam OpenFOAM 0 December 7, 2009 12:57


All times are GMT -4. The time now is 17:32.