CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Line as function of one coordinate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2011, 08:00
Default Line as function of one coordinate
  #1
New Member
 
Andrew High
Join Date: Oct 2009
Posts: 3
Rep Power: 16
handrew is on a distinguished road
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
handrew is offline   Reply With Quote

Old   January 12, 2011, 11:41
Default
  #2
Senior Member
 
Bharath kumar
Join Date: Apr 2009
Posts: 169
Rep Power: 17
bharath is on a distinguished road
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.
bharath is offline   Reply With Quote

Old   January 13, 2011, 00:55
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   January 15, 2011, 15:54
Default
  #4
New Member
 
Andrew High
Join Date: Oct 2009
Posts: 3
Rep Power: 16
handrew is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
handrew is offline   Reply With Quote

Old   January 16, 2011, 17:21
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In CFX-Pre, click the 1D interpolation function option. It will sort the syntax out for you.
ghorrocks is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 13:38


All times are GMT -4. The time now is 17:56.