CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Temperature gradient (https://www.cfd-online.com/Forums/cfx/27105-temperature-gradient.html)

Jaho March 7, 2009 22:40

Temperature gradient
 
Hello. I would like to get some help. Actually, I use the CFX-10.0. By the way, I want to get two types of temperature gradient. Namely,

1) Temperature gradient w.r.t space (i.e., X,Y,Z)at each node for each time step 2) Temperature gradient w.r.t time(i.e., t)at each node for each time step

Please let me know about how to save the values of 1) and 2) in csv file format.

Thank you so much.

Jaho


Johnson March 8, 2009 05:32

Re: Temperature gradient
 
I believe the only way to do this in CFX 10.0 is through User CEL routines (user fortran).

You can access both spatial and time derivatives of variables within a User CEL routine with a call to user_getvar(), and specifying the variable name with an appropriate extension: 'Temperature.Gradient' for the spatial derivative and 'Temperature.Time Derivative' for the temporal one.

In CFX 11.0, I think both of these are available through CEL.

Hope this helps,

Johnson

jaho March 12, 2009 19:36

Re: Temperature gradient
 
Oh, sorry for late reply. Thank you so much your help,Johnson.

Jaho


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