I change the dieselFoam code a
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!
Hi Bei, I think the reactingF
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.
Many thanks for your help! I t
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:
--> FOAM FATAL ERROR : while reading reaction specie on line 31
expected '+' but found '"<"=>H2+CO 1.500E+13 .000 .00'
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?
Hi Bei, try writing the react
try writing the reaction like this
O+CH2(S) <=> H2+CO
adding a space after CH2(S) and before H2.
O+CH2(S) = H2+CO
but I am not sure if the "=" and "<=>" signs are equivalent....
|All times are GMT -4. The time now is 21:24.|