CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

C8H18 implement into dieselFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2009, 14:58
Default C8H18 implement into dieselFoam
  #1
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
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>:perator[](const Key&) const
in file /home/peter/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/HashTableI.H at line 128.

FOAM exiting


I appreciate any help!

Peter
Peter_600 is offline   Reply With Quote

Old   December 13, 2009, 21:45
Default
  #2
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
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
kalle is offline   Reply With Quote

Old   December 14, 2009, 10:06
Default
  #3
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
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
Peter_600 is offline   Reply With Quote

Old   December 14, 2009, 10:50
Default
  #4
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
can you attach the non-working case
niklas is offline   Reply With Quote

Old   December 14, 2009, 12:10
Default
  #5
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
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
Peter_600 is offline   Reply With Quote

Old   July 1, 2011, 07:16
Default Implement new liquid
  #6
New Member
 
Vitaly
Join Date: Sep 2010
Posts: 6
Rep Power: 15
vitvit is on a distinguished road
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!!
vitvit is offline   Reply With Quote

Old   November 4, 2015, 05:16
Default
  #7
New Member
 
Join Date: Aug 2015
Posts: 17
Rep Power: 10
user10600 is on a distinguished road
Hi Peter !

What coefficient values did you put into your therm.dat file for the specie C8H18 ?

Thanks in advance!
user10600 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


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