|
[Sponsors] |
September 4, 2002, 06:05 |
Multiple species and UDS source terms
|
#1 |
Guest
Posts: n/a
|
Hi to all,
I wanted to check the right way to write a source term in fluent, so I solved a simple problem of laminar non-premixed combustion, using the Multiple Species method and ticking off only the option Volumetric Reaction. In the same simulation, I attempted to calculate the profiles of the species by UDF. The source term I have written for methane is the following: DEFINE_SOURCE(p_source_ch4, c, t, dS, eqn) { double source_ch4; source_ch4=-16/C_R(c,t)*(2.119e11*exp(-2.027e8/8314/C_T(c,t))*pow((C_UDSI(c,t,0)*C_R(c,t)/16),0.2)*pow((C_UDSI(c,t,1)*C_R(c,t)/32),1.3)); return source_ch4; } C_UDSI(c,t,0) is methane mass fraction; C_UDSI(c,t,1) is oxygen mass fraction. Other source terms for other species are similar. The kinetic expression is the one used by Fluent for the methane-air mixture. The problem is that contours of UDS are different from the corresponding mass fraction contours calculated by Fluent. I used for diffusivity the constant-dilute-appx (2.88e-5) and I set to the same value for UDS Diffusivity. Has anyone idea of the reason of this discrepancy? Where's my mistake? Thank you very much! Ale |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions for a species transport problems (snapshots attached) | aleisia | FLUENT | 2 | October 9, 2011 04:40 |
Species transport eqn using UDS | Vishal | FLUENT | 0 | March 21, 2006 23:00 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 12:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 13, 2000 23:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 03:43 |