CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   need UDF help (https://www.cfd-online.com/Forums/fluent/35867-need-udf-help.html)

Bikash February 26, 2005 10:36

need UDF help
 
Hi,

I have a 2D circular model. i am tryin to simulated heat transfer in the medium. i want to give a source term such that the temp on every point in the domain varies with its distance from the center. i have problems while writing the udf, how do i call the distance of a point or a cell in 2D.


Y February 26, 2005 12:13

Re: need UDF help
 
Why can not you do this with C_CENTROID or F_CENTROID Y


All times are GMT -4. The time now is 22:36.