|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Hi!
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: 820 ( CL3SISICL A2C2HB* SIF3NH2 ... ... ... OCHNNHO S-TRIAZINE NAO- ) From function HashTable<T, Key, Hash>: ![]() in file /home/peter/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/HashTableI.H at line 128. FOAM exiting I appreciate any help! Peter |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 22 ![]() |
Hi Peter!
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. Good luck Kalle |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Hi Kalle!
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 Peter |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 30 ![]() ![]() |
can you attach the non-working case
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Hi Niklas,
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 CHEMKINThermoFile "~OpenFOAM/thermoData/therm.dat"; I just changed it to CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat"; 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. Best regards Peter |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Vitaly
Join Date: Sep 2010
Posts: 6
Rep Power: 16 ![]() |
Hi,
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!! |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Join Date: Aug 2015
Posts: 17
Rep Power: 11 ![]() |
Hi Peter !
What coefficient values did you put into your therm.dat file for the specie C8H18 ? Thanks in advance! |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
injector model in dieselFoam | leejc | OpenFOAM | 8 | April 3, 2018 12:30 |
gasoline spray simulation using dieselFoam | qhdgj | OpenFOAM Running, Solving & CFD | 10 | July 10, 2016 01:55 |
dieselFoam: how to implement thermo for liquid/gas continuous phase | natrask | OpenFOAM Running, Solving & CFD | 1 | July 16, 2009 05:37 |
axi-symmetric mesh of dieselFoam | az1362f | OpenFOAM Running, Solving & CFD | 2 | June 27, 2009 11:32 |
DieselFoam does not restart from latestTime | lord_kossity | OpenFOAM Bugs | 8 | February 21, 2009 13:54 |