CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Soot absorption coefficient in UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 9, 2012, 14:48
Smile Soot absorption coefficient in UDF
  #1
lei
New Member
 
Lei Chen
Join Date: Mar 2010
Posts: 5
Rep Power: 7
lei is on a distinguished road
Hi everyone,

I used the UDF macro DEFINE_PROPERTY(name, c,t) to model the absorption coefficient (Alpha) for gas and soot, the absorption coefficient is a function of gas composition and temperature, and the soot's contribution is calculated using the correlation:

Alpha(soot) = 1232.4*C_R(c,t)*C_POLLUT(c,t,4)*(1.0+0.00048*(T-2000.0));

Then the total Absorption coefficent = Alpha(gas)+Alpha(soot);

The UDF works well for the gas absorption coefficient calculation, however, when I use the variable for soot's mass fraction "C_POLLUT(c,t,4)", this variable gives all zero value in the domain, and thus the soot's effect on absorption coefficient cannot be added into the total absorption coefficient.

I checked the soot mass fraction, and it can be seen reasonably in post-processing.

Some information for my case:
*version: FLUENT 12.1.4
*Problem: propane combustion using a UDF for radiation property
*Model used: SST k-omega, DO, user defined WSGG model, EDC, one-step soot formation model

Thank you for your comments and helps!
lei is offline   Reply With Quote

Old   March 16, 2013, 09:33
Default
  #2
lei
New Member
 
Lei Chen
Join Date: Mar 2010
Posts: 5
Rep Power: 7
lei is on a distinguished road
In case you encounter the same problem. This problem has been solved with helps from a great FLUENT engineer. Use variable C_POLLUT(c,t,IT_SOOT_START) instead, which is the soot mass fraction in (kg/kg).
lei is offline   Reply With Quote

Reply

Tags
udf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't set absorption coefficient for inert particle lauripar FLUENT 1 May 9, 2012 15:09
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Automotive test case vinz OpenFOAM Running, Solving & CFD 98 October 27, 2008 09:43
Absorption Coefficient Mark FLUENT 2 March 31, 2004 12:55


All times are GMT -4. The time now is 16:25.