CFD Online Logo CFD Online URL
Home > Forums > CFX

Use expression instead of variable

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

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

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,
Anna Tian is offline   Reply With Quote

Old   December 3, 2012, 18:11
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 7
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
Senior Member
Crank-Shaft's Avatar
Join Date: Oct 2012
Location: Sydney, Australia
Posts: 145
Rep Power: 5
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


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
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 18:43.