CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   thermophysicalProperties Dict (

viv05 January 11, 2010 18:53

thermophysicalProperties Dict
I am trying to model a droplet that is a mixture of heptane and octane.
For this, to implement the liquid mixture, I modified the thermophysicalProperties dictionary as

thermoType hMixtureThermo<reactingMixture>;

CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
// We use the central thermo data:
CHEMKINThermoFile "~OpenFOAM/thermoData/therm.dat";

inertSpecie N2;


C7H16 C7H16 defaultCoeffs;
C8H18 C8H18 defaultCoeffs;

Implementing this gives me an out of temperature range error right at the first time step.

attempt to use janafThermo<equationOfState> out of temperature range 200 -> 5000; T = 1.20488e+17#0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#1 Foam::error::abort() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#2 Foam::parcel::setRelaxationTimes(int, double&, Foam::Field<double>&, double&, Foam::Field<double>&, Foam::spray const&, double, Foam::Vector<double> const&, double, double, Foam::Field<double> const&, Foam::Field<double> const&, double) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#3 Foam::parcel::updateParcelProperties(double, Foam::spray&, int, int) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#4 Foam::parcel::move(Foam::spray&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#5 Foam::spray::inject() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#6 Foam::spray::evolve() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#7 main in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/dieselFoam"
#8 __libc_start_main in "/lib64/"
#9 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/dieselFoam"

Could someone tell me where I might be making an error? Moreover, how can I set the mass fraction of each liquid component in the mixture?


chbenz January 12, 2010 05:28


could you upload your case, so i have a look at it?
massfraction can be set in injectorProps for spray-simulations. i think you dont use this but maybe it`s a starting point.


All times are GMT -4. The time now is 14:39.