CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Species term UDF (

kyung May 26, 2005 16:37

Species term UDF
Hi, I'm trying to write UDF for heat flux at the wall. The heat flux is a function of concentration of water.

qid = 1234 * species_water

And I have a problem of how to get the source variable of water species (species_water above). It seems that I can use variables of cid, cir but none of them is for species. Please help me in this.

Allan Walsh May 27, 2005 12:37

Re: Species term UDF
Try the variable C_YI(cell,thread,species) where the species index is that for water in your list. C_YI should be the mass fraction.

kyung June 8, 2005 15:49

Re: Species term UDF
Thank you for your help. I wonder if there is any index for the terms such as temperature, species, etc..

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