|
[Sponsors] |
Error running reactingFoam error PrintStack Ostream |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 21, 2014, 07:47 |
Error running reactingFoam error PrintStack Ostream
|
#1 |
New Member
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12 |
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 |
|
July 21, 2014, 08:04 |
|
#2 |
New Member
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12 |
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? :/ |
|
July 22, 2014, 05:51 |
|
#3 |
Senior Member
|
Hi,
just use zeroGradient, this means no diffusion of species towards the wall. Tom |
|
July 22, 2014, 06:26 |
|
#4 |
New Member
Duarte Magalhães
Join Date: Apr 2014
Location: Lisbon, Portugal
Posts: 24
Rep Power: 12 |
Hi, thanks for your reply Tom! I will try that
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calculate flame speed using reactingFoam | IColin | OpenFOAM Running, Solving & CFD | 0 | February 4, 2014 16:14 |
reactingFoam crashing | rishibigghe | OpenFOAM Running, Solving & CFD | 0 | June 14, 2011 18:50 |
Constant Volume Combustion with reactingFoam | Alish1984 | OpenFOAM Running, Solving & CFD | 2 | May 8, 2011 09:51 |
reactingFoam wedge handling wrong U | dhondupant | OpenFOAM Bugs | 1 | December 9, 2010 08:34 |
reactingFoam - turbulent reacting flow | hamburgFoam | OpenFOAM | 0 | December 7, 2009 13:57 |