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/)
-   -   Combustion modelling in OpenFOAM - Difficulties (https://www.cfd-online.com/Forums/openfoam-solving/83322-combustion-modelling-openfoam-difficulties.html)

Chirayu September 6, 2016 01:52

Methane-Air cold flow
 
How to model non-premixed turbulent cold flow for methane-air composition. Which solver I should use which include species transport but not combustion ?
Thanks in advance.

thalhah90 October 11, 2016 22:29

reactingFoam for a 2D Axisymmetric Case
 
Hopefully I entered the right thread..
I am running reactingFoam for an axisymmetric 2D case which has a wedge boundary condition. I modified the BC files in the 0 folder accordingly and when I ran reactingFoam, it gave the following errors:

Code:

Selecting chemistryReader foamChemistryReader
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::heThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::he(Foam::Field<double> const&, Foam::Field<double> const&, int) const at ??:?
#4  Foam::heThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::heThermo(Foam::fvMesh const&, Foam::word const&) at ??:?
#5  Foam::psiReactionThermo::addfvMeshConstructorToTable<Foam::hePsiThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#6  Foam::autoPtr<Foam::psiReactionThermo> Foam::basicThermo::New<Foam::psiReactionThermo>(Foam::fvMesh const&, Foam::word const&) at ??:?
#7  Foam::psiReactionThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#8  Foam::psiChemistryModel::psiChemistryModel(Foam::fvMesh const&, Foam::word const&) at ??:?
#9  Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > >::chemistryModel(Foam::fvMesh const&, Foam::word const&) at ??:?
#10  Foam::EulerImplicit<Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::EulerImplicit(Foam::fvMesh const&, Foam::word const&) at ??:?
#11  Foam::psiChemistryModel::addfvMeshConstructorToTable<Foam::EulerImplicit<Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#12  Foam::autoPtr<Foam::psiChemistryModel> Foam::basicChemistryModel::New<Foam::psiChemistryModel>(Foam::fvMesh const&, Foam::word const&) at ??:?
#13  Foam::psiChemistryModel::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#14  Foam::combustionModels::psiChemistryCombustion::psiChemistryCombustion(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#15  Foam::combustionModels::laminar<Foam::combustionModels::psiChemistryCombustion>::laminar(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#16  Foam::combustionModels::psiCombustionModel::adddictionaryConstructorToTable<Foam::combustionModels::laminar<Foam::combustionModels::psiChemistryCombustion> >::New(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#17  Foam::combustionModels::psiCombustionModel::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#18  ? at ??:?
#19  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#20  ? at ??:?
Floating point exception (core dumped)


I am not sure what these errors mean and how to fix them. I use OpenFoam3.0.1 on Ubuntu 14.04LTE (if that ever helps).

Any helpful response is really appreciated. Thanks.

Rgds

thalhah90 October 12, 2016 03:12

Quote:

Originally Posted by thalhah90 (Post 621112)
Hopefully I entered the right thread..
I am running reactingFoam for an axisymmetric 2D case which has a wedge boundary condition. I modified the BC files in the 0 folder accordingly and when I ran reactingFoam, it gave the following errors:

Code:

Selecting chemistryReader foamChemistryReader
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::heThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::he(Foam::Field<double> const&, Foam::Field<double> const&, int) const at ??:?
#4  Foam::heThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::heThermo(Foam::fvMesh const&, Foam::word const&) at ??:?
#5  Foam::psiReactionThermo::addfvMeshConstructorToTable<Foam::hePsiThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#6  Foam::autoPtr<Foam::psiReactionThermo> Foam::basicThermo::New<Foam::psiReactionThermo>(Foam::fvMesh const&, Foam::word const&) at ??:?
#7  Foam::psiReactionThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#8  Foam::psiChemistryModel::psiChemistryModel(Foam::fvMesh const&, Foam::word const&) at ??:?
#9  Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > >::chemistryModel(Foam::fvMesh const&, Foam::word const&) at ??:?
#10  Foam::EulerImplicit<Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::EulerImplicit(Foam::fvMesh const&, Foam::word const&) at ??:?
#11  Foam::psiChemistryModel::addfvMeshConstructorToTable<Foam::EulerImplicit<Foam::chemistryModel<Foam::psiChemistryModel, Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#12  Foam::autoPtr<Foam::psiChemistryModel> Foam::basicChemistryModel::New<Foam::psiChemistryModel>(Foam::fvMesh const&, Foam::word const&) at ??:?
#13  Foam::psiChemistryModel::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#14  Foam::combustionModels::psiChemistryCombustion::psiChemistryCombustion(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#15  Foam::combustionModels::laminar<Foam::combustionModels::psiChemistryCombustion>::laminar(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#16  Foam::combustionModels::psiCombustionModel::adddictionaryConstructorToTable<Foam::combustionModels::laminar<Foam::combustionModels::psiChemistryCombustion> >::New(Foam::word const&, Foam::fvMesh const&, Foam::word const&) at ??:?
#17  Foam::combustionModels::psiCombustionModel::New(Foam::fvMesh const&, Foam::word const&) at ??:?
#18  ? at ??:?
#19  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#20  ? at ??:?
Floating point exception (core dumped)


I am not sure what these errors mean and how to fix them. I use OpenFoam3.0.1 on Ubuntu 14.04LTE (if that ever helps).

Any helpful response is really appreciated. Thanks.

Rgds

Solved the problem. There is a patch in my blockMeshDict called 'axis' and had the patch type as empty. Changed the patch type from empty to symmetry and reactingFoam ran perfectly! However, I do not understand a single line of the errors--if anyone cares to explain that would be great!

amrhassan237 January 30, 2021 23:40

Openfoam Combustion
 
HI

Any body knows an online course for openfoam combustion

Regards

Amr


All times are GMT -4. The time now is 05:09.