C8H18 implement into dieselFoam
I have a problem with the implementation of C8H18 into my case.
I 'd like to inject C8H18 into my engine. I am using the same chem.inp therm.dat files as in the dieselFoam tutorial.
I added C8H18 into the chem.inp file and did all necessary changes to the other scripts, like in the tutorial.
I don t succeed to run the case, with that fuel composition.
Why does it work, with a composition of C7H16- C6H14, like in the tutorial ,but not with C7H16 -C8H18.
... this is the message of OpenFOAM
C8H18 not found in table. Valid entries:
From function HashTable<T, Key, Hash>::operator(const Key&) const
in file /home/peter/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/HashTableI.H at line 128.
I appreciate any help!
The problem is likely that C8H18 is not included in your thermo file. You'll need an entry there for each species in your composition. Which reaction mechanism do you use? Sometimes the provider of the mechanism will also provide thermodynamic data. At least they should state which data they used. A bit of googling should help you to find the required data.
Thx for the quick replay.
In ur opinion, I just need a valid entry of C8H18 in my therm.dat.
I already tried it, but just by stupid replacing of a specie by C8H18 ( of course it doesn t make physicaly sense, but it should work. Or I am wrong?
I tried different kind of settings but nothing worked.
I am using the chem.inp and therm.dat file from the tutorial dieselFoam.
The one equation reaction mechanism with C7H16 and by adding a second liquid (C8H18). Its similar to the the tutorial settings, but instead of using C6H14 as second liquid, I try to use C8H18.
thx in advance
can you attach the non-working case
I solved my problem by myself. It was a stupid mistake.
I referred all the time to a wrong therm.dat file.
The path in the thermophysicalProperties file for the therm.dat was
I just changed it to
Where i actually did my changes according to the therm.dat.
Now, I will try to use the real chem.inp file with the corresponding therm.dat.
Thank u anyway for offering ur help.
I appreciate it.
Implement new liquid
I searched the web for simple steps for adding new liquid to OF without any luck.
I know all the polynomial coefficients and I have the files ready, I just don't know how to compile them - a stupid problem, I know..
can anyone help me?
a simple example step by step on one of the liquids in OF would be nice.. say rename H2O to WATER and compile it. many thanks!!
Hi Peter !
What coefficient values did you put into your therm.dat file for the specie C8H18 ?
Thanks in advance!
|All times are GMT -4. The time now is 07:10.|