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

Use expression instead of variable

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2012, 18:00
Question Use expression instead of variable
  #1
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 15
Anna Tian is on a distinguished road
Hi,

When I create a contour in CFX-post, I have to choose a variable(like pressure). Then the different value of this variable will be expressed by different colors on the contour. May I ask how to use an expression defined by myself(like distance) instead of a variable? Then I can visualize the value of this expression in the same way.

Thank you very much!
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   December 3, 2012, 18:11
Default
  #2
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
You can create a new variable and set its definition to the expression that you created.
cdegroot is offline   Reply With Quote

Old   December 4, 2012, 19:36
Default
  #3
Senior Member
 
Crank-Shaft's Avatar
 
Ovi
Join Date: Oct 2012
Location: Sydney, Australia
Posts: 166
Rep Power: 13
Crank-Shaft is on a distinguished road
Recently, I have been creating new expressions for values such as normalised distances and normalised velocity. Next, it is possible to create a variable and choose the scalar expression as it's source. This allows you to plot everything from surfaces, contours and vectors.

Hope this helps.
__________________
--
Mechanical Engineering
Sydney, Australia


Crank-Shaft is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Additional variable as output of an expression Chander CFX 1 November 22, 2011 13:54
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 05:00.