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/27142-temperature-gradient.html)

jaho March 13, 2009 23:36

Temperature gradient
 
Hi, I would like to get some help regarding temperature graident.

What I did is

First, I defined two types of temperature gradient in CEL expression. e.g., TempGradS: Temperature.Gradient

TempGradt: Temperature.Time derivative

Next, I inserted additional variables for these two. In basic settings, variable type is unspecifed and tensor type is scalar.

My questions are

1) This procedure is correct?

2) Does TempGrads (by the above definition and scalar setting in addtional variables) mean a root of (dT/dx)^2+(dT/dy)^2+(dT/dz)^2 ?

3) How to get these two gradients in CSV file format?

Thank you so much and have a great day~!

Jaho


Zef March 16, 2009 06:32

Procedure is incorrect, i think. As far as i know, Temperature.Gradient is CFX-Post variable and it is VECTOR variable. To obtain gradient you want simply define CEL expression sqrt(T.Gradient X^2+T.Gradient Y^2+T.Gradient Z^2). It should work.

Zef


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