CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Basic Absorption Coefficients for UDF macro DEFINE_WSGGM_ABS_COEFF

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By moeinvh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2018, 11:49
Question Basic Absorption Coefficients for UDF macro DEFINE_WSGGM_ABS_COEFF
  #1
New Member
 
moein vh
Join Date: Aug 2017
Posts: 13
Rep Power: 9
moeinvh is on a distinguished road
Hi friends,

I wanna use a non-gray model for combustion. As it is mentioned in Fluent Theory Guide, "The weighted-sum-of-gray-gases model (WSGGM) cannot be used to specify the absorption coefficient in each band.", I want to use a UDF to calculate absorption coefficient for each band, separately.
I found a macro in Fluent UDF manual which is named DEFINE_WSGGM_ABS_COEFF.

An example:

Code:
include "udf.h"
#include "materials.h"
DEFINE_WSGGM_ABS_COEFF(user_wsggm_abs_coeff, c, t, xi, p_t, s, soot_conc, Tcell, nb, ab_wsggm, ab_soot)
{
Material *m = THREAD_MATERIAL(t);
int ico2 = mixture_specie_index(m, "co2");
int ih2o = mixture_specie_index(m, "h2o");
real CO2_molf, H2O_molf;
real k2, k3, k4;
CO2_molf= xi[ico2];
H2O_molf= xi[ih2o];
switch (nb)
{
case 0 : /* First gray gas*/
{
*ab_wsggm = 0;
}
break;
case 1 : /* Second gray gas*/
{
k2 = 0.1;
*ab_wsggm = (k2 * (H2O_molf + CO2_molf)) * p_t;
}
break;
case 2 : /* Third gray gas*/
{
k3 = 7.1;
*ab_wsggm = (k3 * (H2O_molf + CO2_molf)) * p_t;
}
break;
case 3 : /* Fourth gray gas*/
{
k4 = 60.0;
*ab_wsggm = (k4 * (H2O_molf + CO2_molf)) * p_t;
}
}
*ab_soot = 0.1;
}
In this UDF the final value of absorption coefficient for each band is calculated by the product of a basic absorption coefficient (k2, k3, k4) in the sum of partial pressures of H2O and CO2.

Do you know any reference that could give me the values of basic absorption coefficients (k2, k3, k4) for various infrared and visible bands?

Best Regards,
Moein Vh
Svetlana likes this.
moeinvh is offline   Reply With Quote

Reply

Tags
absorption coefficient, band, non-gray, udf, wsggm


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
timestep extraction for macro manuc Tecplot 0 August 10, 2016 13:20
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 18:00
Radiation (P1) Absorption and Scattering Coefficients apo FLUENT 0 February 21, 2015 08:07
need absorption and scattering coefficients. Pablo FLUENT 1 May 16, 2007 16:50
Absorption Coefficients Mark Main CFD Forum 4 September 22, 2003 09:22


All times are GMT -4. The time now is 08:19.