CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF derivative (https://www.cfd-online.com/Forums/fluent-udf/99274-udf-derivative.html)

libia87 March 30, 2012 05:51

UDF derivative
 
Hi!

how can i write dC/dx in a UDF?? because Fluent don't recognise dCdx, says that is an undeclared variable.

C its concentration

Thanks!

chenxizh April 22, 2012 03:43

may be you can difine a uds to store the C , get the dC/dx by use C_UDSIG()[0]

Quote:

Originally Posted by libia87 (Post 352304)
Hi!

how can i write dC/dx in a UDF?? because Fluent don't recognise dCdx, says that is an undeclared variable.

C its concentration

Thanks!



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