|
[Sponsors] |
April 21, 2007, 04:11 |
UDF for devolatilization
|
#1 |
Guest
Posts: n/a
|
I use Fluent to simulate coal gasification. The first step, coal should discharge volatile. The volatile is thought of as a pure component in Fluent, but in fact it composes of several simple components. I want to know how to write a UDF to divide volatile into simple components? How to embed above code into UDF for devolatilization law?
|
|
April 21, 2007, 16:37 |
Re: UDF for devolatilization
|
#2 |
Guest
Posts: n/a
|
Please give me some advice. Thanks.
|
|
April 23, 2007, 14:40 |
Re: UDF for devolatilization
|
#3 |
Guest
Posts: n/a
|
What we do is make an artifical species (say coal_vol) that volatizes from the coal at a rate determined separately. Then, the coal_vol is divided up into separate species (i.e. CH4, H2, H2O, CO, CO2 etc.) as determined by its own species transport equation. Theoretically, there should not be any limitation on the rate of this reaction, but sometimes for solving purposes, it is good to do so.
You can make the relative fractions of the species that make up the volatiles dependant on the coal composition, which requires calculating the molecular weight and enthalpy of formation for the coal_vol. Making the volatiles composition time dependant or temperature dependant is somewhat more complex. Or you could just use the PDF approach. Good luck. |
|
April 27, 2007, 05:31 |
Re: UDF for devolatilization
|
#4 |
Guest
Posts: n/a
|
hello, Allan. I am writing a UDF for volatile dividing, a DEFINE_DPM_SOURCE macro used. It seems to work well. I want to know the macro that you used ?
|
|
April 27, 2007, 13:56 |
Re: UDF for devolatilization
|
#5 |
Guest
Posts: n/a
|
We use several different macros for combustion - particle laws for drying, volatiles release, char combustion, inerts, grate combustion, etc. developed over the past 20 years starting with FLUENT V.3
For the volatiles, we had thought about using the DEFINE_DPM_SOURCE macro but when we first started implementing the code, we just directly added the volatiles released (at each time step) to the C_STORAGE_R(c,t,vol_species) variable. Seemed to work ok. We have seen lots of discussion about source terms and source term linearization, which seems to be the intent of DEFINE_DPM_SOURCE macro. I guess there are different ways to get to the same endpoint. |
|
July 1, 2013, 09:30 |
|
#6 | |
New Member
jieyu
Join Date: Jul 2013
Posts: 20
Rep Power: 13 |
Quote:
Could you share some examples about the UDF devolatilization? THX yujie_upc@126.com |
||
July 1, 2013, 09:32 |
|
#7 | |
New Member
jieyu
Join Date: Jul 2013
Posts: 20
Rep Power: 13 |
Quote:
Could you give us some suggestion about the UDF devolatilization? THX yujie_upc@126.com |
||
July 1, 2013, 09:42 |
|
#8 | |
New Member
jieyu
Join Date: Jul 2013
Posts: 20
Rep Power: 13 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |