CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF for Second Derivative of Velocity (http://www.cfd-online.com/Forums/fluent/33177-udf-second-derivative-velocity.html)

Satish March 6, 2004 16:53

UDF for Second Derivative of Velocity
 
Hi

Can any one help me, how to get the second order derivative of velocity and temperature for a cell using UDF ?

Like d2u/dx2

Thanks

Satish

thomas March 8, 2004 05:15

Re: UDF for Second Derivative of Velocity
 
Hi, I would suggest to do as follow:

U-velcoity_first_gradient = C_U_G(c,t) C_UDSI(c,t,0) = C_U_G(c,t) U-velocity_second_gradient = C_UDSI_G(c,t)

indeed: U-velcoity_first_gradient & U-velocity_second_gradient are arrays!

Cheers, thomas


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