CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Line as function of one coordinate (http://www.cfd-online.com/Forums/cfx/83699-line-function-one-coordinate.html)

handrew January 8, 2011 09:00

Line as function of one coordinate
 
Hello I need to write expression of temperature at line as a function of coordinate y. Coordinates x and z are constant. I tried to look in help, but I had found no solution. One possibility is to export it as chart values, but it would be too complicated, because I need to work with other values in CFX post.
Thank you for answers

bharath January 12, 2011 12:41

hi handrew,
i don't know the solution exactly.but i have an idea of doing this.make an expression like A = Y (i.e CFX variable),and a function named B with 1D interpolation scheme(like y=0 m;t=100deg c and y=10 m ;t=1000 deg c) and another expression named C = A(B).
It may work for your need.

ghorrocks January 13, 2011 01:55

This is easy to do with a CEL expression function or 1D interpolation function. Just make the input variable y and the output variable temeprature.

handrew January 15, 2011 16:54

Quote:

Originally Posted by ghorrocks (Post 290229)
This is easy to do with a CEL expression function or 1D interpolation function. Just make the input variable y and the output variable temeprature.

That s what I want to do. But i don t know the right syntax. I suppose that I should use function probe, but I don t know how to use it with line ( with variable y). I didn t find the solution in help either.

ghorrocks January 16, 2011 18:21

In CFX-Pre, click the 1D interpolation function option. It will sort the syntax out for you.


All times are GMT -4. The time now is 13:24.