CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Gradient of variable through UDF (

mvee March 8, 2013 03:45

Gradient of variable through UDF

I am solving a scalar equation for one variable. The source term of which is having gradient term like \frac{\partial{u}}{\partial{x}}.
'u' is not axial velocity but it is obtained through algebraic equation which is again the function of x.
I need to discretize the equation through UDF. How can i do this?

Any comment.

Thank you

All times are GMT -4. The time now is 15:16.