CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error running reactingFoam error PrintStack Ostream (https://www.cfd-online.com/Forums/openfoam-solving/139283-error-running-reactingfoam-error-printstack-ostream.html)

DuarteMagalhaes July 21, 2014 06:47

Error running reactingFoam error PrintStack Ostream
 
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 July 21, 2014 07:04

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? :/

tomf July 22, 2014 04:51

Hi,

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

Tom

DuarteMagalhaes July 22, 2014 05:26

Hi, thanks for your reply Tom! I will try that ;)


All times are GMT -4. The time now is 02:54.