CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF Macros for accessing radiation temperature (https://www.cfd-online.com/Forums/fluent/30755-udf-macros-accessing-radiation-temperature.html)

Tomb January 7, 2003 04:28

UDF Macros for accessing radiation temperature
 
Dear guys,

Is there anyone know how to obtain the radiation temperature in each cell of a mesh within the UDF?

Is there any standard macros like C_T(c,t) to access the radiation temperature in a cell?

Please advise me if you have a solution for this, thanks!


chingyinh May 28, 2011 02:30

just find it in Ansys portal
 
#440 - FLUENT - How to access radiation temperature in a UDF

Product:FLUENTVersion:Other
Answer:



A user wants to access the radiation temperature in a UDF.
Solutions are available for P1 and DOM radiation models.
Radiation Temperature in a given cell (c,t)
- using the P1 radiation model:

pow(C_P1(c,t) / (4. * SIGMA_SBC), 0.25);

Herein, "C_P1(c,t)" is the "incident radiation".

- using the discrete ordinate ("disco") radiation model (DOM):

The incident radiation can be found in...

C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0)

Thus, the radiation temperature can be calculated as...

pow( C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0) / (4. * SIGMA_SBC), 0.25)

mac_09 June 4, 2015 22:15

Quote:

Originally Posted by chingyinh (Post 309595)
#440 - FLUENT - How to access radiation temperature in a UDF

Product:FLUENTVersion:Other
Answer:



A user wants to access the radiation temperature in a UDF.
Solutions are available for P1 and DOM radiation models.
Radiation Temperature in a given cell (c,t)
- using the P1 radiation model:

pow(C_P1(c,t) / (4. * SIGMA_SBC), 0.25);

Herein, "C_P1(c,t)" is the "incident radiation".

- using the discrete ordinate ("disco") radiation model (DOM):

The incident radiation can be found in...

C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0)

Thus, the radiation temperature can be calculated as...

pow( C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0) / (4. * SIGMA_SBC), 0.25)

Hi,

I know it's quite a old post but I want to clarify few things.

C_P1(c,t) = incident radiation for P1

C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0) = incident radiation for DOM

Am I right?

Thanks in advance.

MAC


All times are GMT -4. The time now is 09:53.