CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   thermophysicalProperties Dict (http://www.cfd-online.com/Forums/openfoam/71674-thermophysicalproperties-dict.html)

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;

liquidComponents
(
C7H16
C8H18
);

liquidProperties
{
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/libOpenFOAM.so"
#1 Foam::error::abort() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#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/libdieselSpray.so"
#3 Foam::parcel::updateParcelProperties(double, Foam::spray&, int, int) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libdieselSpray.so"
#4 Foam::parcel::move(Foam::spray&) in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libdieselSpray.so"
#5 Foam::spray::inject() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libdieselSpray.so"
#6 Foam::spray::evolve() in "/usr/local/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libdieselSpray.so"
#7 main in "/usr/local/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/dieselFoam"
#8 __libc_start_main in "/lib64/libc.so.6"
#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?

Thanks.

chbenz January 12, 2010 05:28

Hi,

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.

Christof


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