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

Macros for discrete ordinate, non gray model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2012, 04:54
Default Macros for discrete ordinate, non gray model
  #1
New Member
 
Join Date: Jun 2011
Posts: 18
Rep Power: 14
yashmash is on a distinguished road
Hi all,

I am using the discrete ordinate, non gray radiation model. I am after the macros to access the incident radiation for each band and the absorption coefficient for each band as well.

Anyone able to assist?

Thanks!

Yash
yashmash is offline   Reply With Quote

Old   March 19, 2012, 02:13
Default
  #2
New Member
 
Ali Emadi
Join Date: Jan 2011
Posts: 18
Rep Power: 15
aliemadi is on a distinguished road
Hello Yash
you can access to Incident radiation of each cell by using the following macro(in DOM):
C_STORAGE_R_XV(c,t,SV_DO_IRRAD,i)
where i is the number of grey band and you can change it from 0 to the last band.
you yourself define absorption coefficient for each band! so you obviously know its value. If you want to define not a constant absorption coefficient for each band you can use it's standard macro:
DEFINE_GRAY_BAND_ABS_COEFF(name,c,t,nb)

as an example:
#include "udf.h"
DEFINE_GRAY_BAND_ABS_COEFF(user_gray_band_abs,c,t, nb)
{
real abs_coeff = 0;
real T = C_T(c,t);
switch (nb)
{
case 0 : abs_coeff = 1.3+0.001*T; break;
case 1 : abs_coeff = 2.7 + 0.005*T; break;
}
return abs_coeff;
}

good luck
Ali
aliemadi is offline   Reply With Quote

Reply


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
Atomization and Breakup model xck1986 OpenFOAM 4 May 31, 2014 04:43
Problems bout CFD model of biomass gasification, Downdraft gasifier wanglong FLUENT 2 November 25, 2009 23:27
help for different between les model (subgrid-scale model) liuyuxuan FLUENT 1 October 2, 2009 15:25
Grid resolution for full-scale and down scaled model gravis Main CFD Forum 0 October 2, 2009 10:27
Discrete Ordinate Model Raffi Kazazian Main CFD Forum 1 January 4, 2000 02:25


All times are GMT -4. The time now is 05:04.