CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   calculate gradient tension in udf (

mohsenz_136 January 3, 2013 16:54

calculate gradient tension in udf
Hello! I am trying to write a UDF for fluent. I want to calculate the gradient of a tension. I want to calculate ∂τ/∂x for a source term that adds to energy equation. Does anybody have any idea how can I do that. Thank you

msaeedsadeghi January 5, 2013 04:15

There is nothing for tension. You should calculate if from velocity gradiant. You can find it in fluent manual. C_U_G(c,t)[0], C_U_G(c,t)[1], C_U_G(c,t)[2]

All times are GMT -4. The time now is 03:01.