CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Fluent udf--spatial derivative of user-defined scalar (http://www.cfd-online.com/Forums/fluent-udf/66960-fluent-udf-spatial-derivative-user-defined-scalar.html)

tas38 July 29, 2009 09:36

Fluent udf--spatial derivative of user-defined scalar
 
I would like to be able to take spatial derivatives of arbitrary scalar variables within a fluent udf. However, if for example, I put C_U(c,t) into user defined scalar 0 and then define user-defined scalar 1 as C_UDSI(c,t,1)=C_UDSI_G(c,t,0)[1], it produces erroneous values for scalar 1. Does anyone have any suggestions?

I would like to have such capability as I am attemping to add momentum source terms via udf that involve vorticity and vorticity magnitude, which are not explicitly defined field variables for use in udfs.

tompa February 9, 2011 04:05

I have the same question.
Do you know how to solve it now?
I do need the anwser on my problem.


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