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/)
-   -   Problem with chemkinReader in dieselFoam (https://www.cfd-online.com/Forums/openfoam-solving/58029-problem-chemkinreader-dieselfoam.html)

smehdi609 January 29, 2009 13:43

Hi, In openFoam 1.4.1, if Yd
 
Hi,
In openFoam 1.4.1, if Ydefault has an initial value of zero the chemkinReader does not work. I get the following error by running dieselFoam on the aachenBomb without changing anything:
Case : aachenBomb
Nprocs : 1
Create time

Create mesh for time = 0


Reading thermophysicalProperties
Selecting thermodynamics package hMixtureThermo<reactingmixture>
Selecting chemistryReader chemkinReader
#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0xb7f1e420]
#3 Foam::DimensionedField<double,>::operator/=(Foam::DimensionedField<double,> const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#4 Foam::GeometricField<double,>::operator/=(Foam::GeometricField<double,> const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#5 Foam::multiComponentMixture<foam::sutherlandtransp ort<foam::speciethermo<foam::j anafthermo<foam::perfectgas> > > >::correctMassFractions() in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#6 Foam::multiComponentMixture<foam::sutherlandtransp ort<foam::speciethermo<foam::j anafthermo<foam::perfectgas> > > >::multiComponentMixture(Foam::dictionary const&, Foam::List<foam::word> const&, Foam::HashPtrTable<foam::sutherlandtransport<foam: :speciethermo<foam::janaftherm o<foam::perfectgas> > >, Foam::word, Foam::string::hash> const&, Foam::fvMesh const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#7 Foam::reactingMixture::reactingMixture(Foam::dicti onary const&, Foam::fvMesh const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#8 Foam::hMixtureThermo<foam::reactingmixture>::hMixt ureThermo(Foam::fvMesh const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#9 Foam::hCombustionThermo::addfvMeshConstructorToTab le<foam::hmixturethermo<foam:: reactingmixture> >::New(Foam::fvMesh const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#10 Foam::hCombustionThermo::New(Foam::fvMesh const&) in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libcombustionThermophysic alModels.so"
#11 main in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/dieselFoam"
#12 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#13 Foam::regIOobject::readIfModified() in "/home/mahdi/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/dieselFoam"
Floating point exception


However, if I initialize the Ydefault with a small number it works. I checked OpenFOAM 1.5, but there is not such a problem there. Is this a bug in 1.4.1 that has been fixed in 1.5 version?
Cheers,
Mahdi


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