
[Sponsors] 
July 6, 2010, 14:24 
Coal gasification (coalChemistryFoam)

#1 
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 9 
Hi Folks,
I am trying to use coalChemistryFoam to simulate coal gasification. I am using coal particles mixed with steam coming out of inlet of a gasifier. However I get some instability when solving for chemistry indicating that the temperature is out of bounds when slving for chemistry (see error below). My questions are: 1. has anyone used coalChemistryFoam to simulate coalgasification. 2. if yes, can you share the sample input files and setup files. Thanks, Nir  Error  Solving chemistry attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 172.4576252 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 172.4576252 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 168.8897125 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 168.8897125 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCG: Solving for Ux, Initial residual = 0.06252264858, Final residual = 2.128743217e07, No Iterations 3 DILUPBiCG: Solving for Uy, Initial residual = 0.05006504269, Final residual = 1.698478568e07, No Iterations 3 DILUPBiCG: Solving for Uz, Initial residual = 0.04849053656, Final residual = 1.647714921e07, No Iterations 3 DILUPBiCG: Solving for O2, Initial residual = 9.278860932e06, Final residual = 5.681887612e08, No Iterations 1 DILUPBiCG: Solving for CH4, Initial residual = 1.523074818e06, Final residual = 1.138947373e08, No Iterations 1 DILUPBiCG: Solving for H2, Initial residual = 1.53011947e06, Final residual = 1.144182535e08, No Iterations 1 DILUPBiCG: Solving for CO2, Initial residual = 1.523069754e06, Final residual = 1.138943648e08, No Iterations 1 DILUPBiCG: Solving for H2O, Initial residual = 1.242080567e06, Final residual = 7.387563002e09, No Iterations 1 DILUPBiCG: Solving for h, Initial residual = 7.844066942e07, Final residual = 7.844066942e07, No Iterations 0 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 165.0947803 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 165.0947803 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 162.1038572 attempt to use janafThermo<equationOfState> out of temperature range 0 > 5000; T = 162.1038572 DICPCG: Solving for G, Initial residual = 7.414788851e06, Final residual = 7.414788851e06, No Iterations 0 DILUPBiCG: Solving for p, Initial residual = 0.06213669809, Final residual = 2.115563004e11, No Iterations 4 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 4.5111303e14, global = 1.98763565e14, cumulative = 6.750422694e11 DILUPBiCG: Solving for p, Initial residual = 7.208921875e09, Final residual = 7.208921875e09, No Iterations 0 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 9.36121857e12, global = 1.98763636e14, cumulative = 6.75241033e11 T gas min/max = 200, 450 DILUPBiCG: Solving for k, Initial residual = 0.962630372, Final residual = 3.331572521e09, No Iterations 5 ExecutionTime = 2.91 s ClockTime = 3 s 

July 7, 2010, 02:42 

#2 
Member
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 10 
na,
maybe you can refer the post "Patches for OpenFOAM 1.7 on MacOS X" maybe a bug, or the problems of configurations. Leo 

June 13, 2011, 23:20 

#3 
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 8 
I have the same problem,have you solved it?


June 14, 2011, 03:49 

#4 
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 80
Rep Power: 10 
Hi,
an easy way would be using openFOAM 1.7.1 (which solves equations for hs instead of h). At least for me it avoided some janaF errors. gregor 

June 14, 2011, 04:43 

#5 
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 8 
hi,
I do use OF1.7.1, and it shows the problem 

June 14, 2011, 04:58 

#6 
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 80
Rep Power: 10 
ok sorry the inital poster did not but it is an old post anyway.
janaF errors can have numerous reasons (boundary conditons, models etc.) and without posting any details about your case there is no way to find a solution. 

June 14, 2011, 05:28 

#7  
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 8 
Quote:
the model is just as the tutorial case simplifiedSiwek, I just change the mesh and boundary conditions and relational files in constant, my case has two inlets(inlet1 jets coal and primary air at 300K,inlet2 jets preheated air at 1500K): Screenshot.jpg the BC like follows: BC.tar.gz or can you give me your QQ or sth (mine :549844146)and then I will show you more detail informations 

June 15, 2011, 03:35 

#8 
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 80
Rep Power: 10 
Hi,
first of all i have experienced difficulties when using "mixed" boundary conditions for different species. You have a zeroGradient condition for H2,CH4,CO at the inlets and fixedValue for the other species. So use fixedValue = 0.0 for H2 as well. What time scheme are you using ? I had trouble when using CN with a high explicit ratio . And you could try to switch of radiation,particles etc. just to eliminate possibilities. gregor 

June 15, 2011, 04:06 

#9  
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 8 
Quote:
controlDict.txt 

June 15, 2011, 05:01 

#10 
Member
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 80
Rep Power: 10 
you can deactivate the particles in constant\coalcloud1properties by setting active to false. but try to change your boundary conditions first.
gregor 

August 4, 2011, 05:28 
yingkun

#11 
New Member
Naveed Iqbal
Join Date: Oct 2009
Location: Germany
Posts: 19
Rep Power: 10 
Hi,
I enter in the thread as I am also simulating the similar case, but with some variations, has you solved your problem or not ? I have changed this case to a cylindrical domain, where I have modified the coalCloud by increasing the number of particles and and some other details, it is working fine, but then I changed the boundray condition (inlet U) to some flow rate option, it is still working but it is taking too long. If the thread is still active we can share some of our experience. Cheers, Naveed 

August 8, 2011, 22:10 

#12 
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 8 
hi
I came back home those days,that why I reply so late. I change the geometry and boundary conditions,and eject coal horizontally from the left face,now I meet some problems,it just can calculates a short time,may be we can discuss it. 

June 29, 2017, 07:22 

#13 
New Member
behzad
Join Date: Dec 2010
Posts: 12
Rep Power: 9 
This post is very old, but I'm working on the same thing and wanted to know if you succeeded modeling coal gasification in openfoam?! Can you share your models??


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Nonpremixed Combustion Model for Coal Gasification  C.Y.Ler  FLUENT  2  April 29, 2014 08:51 
Coal gasification  DYANA  FLUENT  20  April 17, 2013 10:19 
COal GAsification: defining Coal  coalgas  FLUENT  0  May 1, 2009 01:10 
Coal Gasification  Macy  FLUENT  1  September 24, 2007 13:48 
Coal gasification HELP  C.Y.Ler  FLUENT  3  January 3, 2007 18:43 