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

Line as function of one coordinate

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 8, 2011, 09:00
Default Line as function of one coordinate
  #1
New Member
 
Andrew High
Join Date: Oct 2009
Posts: 3
Rep Power: 7
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, 12:41
Default
  #2
Senior Member
 
Bharath kumar
Join Date: Apr 2009
Posts: 157
Rep Power: 8
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, 01:55
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 16:54
Default
  #4
New Member
 
Andrew High
Join Date: Oct 2009
Posts: 3
Rep Power: 7
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, 18:21
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,931
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
In CFX-Pre, click the 1D interpolation function option. It will sort the syntax out for you.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 14:38


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