|
[Sponsors] |
August 15, 2005, 17:19 |
I change the dieselFoam code a
|
#1 |
New Member
Bei
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
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 |
|
August 16, 2005, 05:23 |
Hi Bei,
I think the reactingF
|
#2 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
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 |
|
August 16, 2005, 14:53 |
Many thanks for your help! I t
|
#3 |
New Member
Bei
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
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 |
|
August 16, 2005, 17:59 |
Hi Bei,
try writing the react
|
#4 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |