CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Macro access radiation temperature DO and P1 models (http://www.cfd-online.com/Forums/fluent/112776-macro-access-radiation-temperature-do-p1-models.html)

SteveGoat February 5, 2013 07:40

Macro access radiation temperature DO and P1 models
 
Hi everyone,
in order to perform a series of calculations inside an UDF function I will need as imput the value of the radiation temperature cell by cell

At the moment I'm using a macro to compute this value based on the incident radiation:

P1 model:
T_radiation = pow((C_P1(c,t)/4./5.67e-08),0.25);

or

DO model:
T_radiation = pow((C_STORAGE_R_XV(c,t,SV_DO_IRRAD,0)/4./5.67e-08),0.25);

Since this variable is already computed by Fluent (at least from version 13) I was wondering if there is a macro that allows me to access it directly

Many thanks


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