CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

About dieselFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2005, 17:19
Default I change the dieselFoam code a
  #1
New Member
 
Bei
Join Date: Mar 2009
Posts: 21
Rep Power: 17
tsjb00 is on a distinguished road
I change the dieselFoam code a bit. The revised code is basically the same as dieselFoam, only without diesel injection and some other minor stuff. The only complain during compiling is that temperature field is never used. When I run the code, something goes wrong in reading thermophysical properties part of createFields.H.

Error information is:

--> FOAM FATAL ERROR : attempt to use janafThermo<equationofstate> out of temperature range 200 -> 5000; T = nan

I check the T file in directory ./0 and files in ./chemkin. What is the cause of this problem? Do I miss something in the application code?

Thanks a lot!

JB
tsjb00 is offline   Reply With Quote

Old   August 16, 2005, 05:23
Default Hi Bei, I think the reactingF
  #2
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
Hi Bei,
I think the reactingFoam application might be more suitable for your case. Use that one, at least without any mofication. It should be ok for a turbulent reacting flow without sprays.
Bye
Tommaso
lucchini is offline   Reply With Quote

Old   August 16, 2005, 14:53
Default Many thanks for your help! I t
  #3
New Member
 
Bei
Join Date: Mar 2009
Posts: 21
Rep Power: 17
tsjb00 is on a distinguished road
Many thanks for your help! I try the reactingFoam as you suggested and it works. However, when I try to use gri-mech3 files, the chemkin reader complains again. As a example, the following reaction is not recognized:

O+CH2(S)<=>H2+CO

Error information:
--> FOAM FATAL ERROR : while reading reaction specie on line 31
expected '+' but found '"<"=>H2+CO 1.500E+13 .000 .00'

Function: chemkinReader::lex()
in file: chemistryReaders/chemkinReader/chemkinLexer.L at line: 1484.


It seems the reader accepts CH2(S) in reading species, but having trouble with CH2(S) in the reaction. How can I fix it?

Best regards,

JB
tsjb00 is offline   Reply With Quote

Old   August 16, 2005, 17:59
Default Hi Bei, try writing the react
  #4
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
Hi Bei,
try writing the reaction like this

O+CH2(S) <=> H2+CO

adding a space after CH2(S) and before H2.

Otherwise try
O+CH2(S) = H2+CO

but I am not sure if the "=" and "<=>" signs are equivalent....

bye
Tommaso
lucchini is offline   Reply With Quote

Reply


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
DieselFoam spray thumthae OpenFOAM Running, Solving & CFD 98 December 24, 2014 16:55
DieselFoam and ReactingFoam matteo_rosa_sentinella OpenFOAM Pre-Processing 4 September 28, 2009 11:35
DieselFoam does not restart from latestTime lord_kossity OpenFOAM Bugs 8 February 21, 2009 14:54
Problem in dieselFoam skherad OpenFOAM Running, Solving & CFD 0 July 6, 2006 05:48
Problem in dieselFoam skherad OpenFOAM Running, Solving & CFD 0 July 6, 2006 05:45


All times are GMT -4. The time now is 00:35.