CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   what is gradient vector? (http://www.cfd-online.com/Forums/fluent/31274-what-gradient-vector.html)

majestywzh April 13, 2003 23:57

what is gradient vector?
 
You can access a component of a gradient vector by specifying it as an argument in the gradient vector call ( 0 for the x component; 1 for y; and 2 for z). For example,

C_T_G(c,t)[0]; /* returns the x-component of the cell temperature */

/* gradient vector */

returns the x component of the temperature gradient vector

the gradient vector is just like the Derivatives ?



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