CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Combustion simulation with constGasThermoPhysics (http://www.cfd-online.com/Forums/openfoam-solving/117261-combustion-simulation-constgasthermophysics.html)

Kalen May 5, 2013 18:51

Combustion simulation with constGasThermoPhysics
 
Hello All,

I am attempting to run a simulation using reactingFoam. Since I am aiming to create a test for something I'm developing, I want to simplify and use constGasThermoPhysics rather than gasThermoPhysics (which if I understand it correctly will use constant Cp, viscosity, etc.). When attempting to run the included counterFlowFlame2D test case, I receive the following output:

Selecting combustion model PaSR<psiChemistryCombustionModel>
Selecting psiChemistryModel ODEChemistryModel<constGasThermoPhysics>
Selecting thermodynamics package hsPsiMixtureThermo<reactingMixture<constGasThermoP hysics>>
Selecting chemistryReader foamChemistryReader
#0 Foam::error:: printStack(Foam::Ostream&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::chemistryReader<Foam::constTransport<Foam::s pecieThermo<Foam::hConstThermo<Foam:: perfectGas> > > >::New(Foam::dictionary const&, Foam::hashedWordList&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#4 Foam::reactingMixture<Foam::constTransport<Foam::s pecieThermo<Foam::hConstThermo<Foam:perfectGas> > > >::reactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#5 Foam::hsPsiMixtureThermo<Foam::reactingMixture<Foa m::constTransport<Foam::specieThermo<Foam::hConstT hermo<Foam:: perfectGas> > > > >::hsPsiMixtureThermo(Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#6 Foam::hsCombustionThermo::addfvMeshConstructorToTa ble<Foam::hsPsiMixtureThermo<Foam::reactingMixture <Foam::constTransport<Foam::specieThermo<Foam::hCo nstThermo<Foam:: erfectGas> > > > > >::New(Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#7 Foam::hsCombustionThermo::NewType(Foam::fvMesh const&, Foam::word const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#8 Foam:: psiChemistryModel:: psiChemistryModel(Foam::fvMesh const&, Foam::word const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#9 Foam::ODEChemistryModel<Foam:: psiChemistryModel, Foam::constTransport<Foam::specieThermo<Foam::hCon stThermo<Foam:: perfectGas> > > >::ODEChemistryModel(Foam::fvMesh const&, Foam::word const&, Foam::word const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#10 Foam:: ode<Foam::ODEChemistryModel<Foam:: psiChemistryModel, Foam::constTransport<Foam::specieThermo<Foam::hCon stThermo<Foam:: perfectGas> > > > >:: ode(Foam::fvMesh const&, Foam::word const&, Foam::word const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#11 Foam:: psiChemistryModel::addfvMeshConstructorToTable<Foa m:: ode<Foam::ODEChemistryModel<Foam::psiChemistryMode l, Foam::constTransport<Foam::specieThermo<Foam::hCon stThermo<Foam:: perfectGas> > > > > >::New(Foam::fvMesh const&, Foam::word const&, Foam::word const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#12 Foam:: psiChemistryModel::New(Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#13 Foam::combustionModels:: psiChemistryCombustionModel:: psiChemistryCombustionModel(Foam::word const&, Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#14 Foam::combustionModels::PaSR<Foam::combustionModel s:: psiChemistryCombustionModel>::PaSR(Foam::word const&, Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#15 Foam::combustionModels:: psiChemistryCombustionModel::adddictionaryConstruc torToTable<Foam::combustionModels::PaSR<Foam::comb ustionModels:: psiChemistryCombustionModel> >::New(Foam::word const&, Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#16 Foam::combustionModels:: psiChemistryCombustionModel::New(Foam::fvMesh const&) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#17 main in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/reactingFoam"
#18 __libc_start_main in "/lib64/libc.so.6"
#19 Foam::UOPstream::write(char) in "/work/01032/kalen/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/reactingFoam"
Segmentation fault

The only changes I have made to that test case are the change from gasThermoPhysics to constGasThermoPhysics in the thermophysicalProperties file thermoType input and the chemistryProperties file psiChemistryModel input, and the thermo.compressibleGas file in which I've made the modification to what I think are the inputs for constant properties:
thermodynamics
{
Cp 1005.0;
Hf 0.0;
}
transport
{
mu 1.8e-05;
Pr 0.7;
}

I appreciate any help.

Thanks,
Kalen


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