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

defining new expressions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2009, 11:07
Default defining new expressions
  #1
New Member
 
Mattia
Join Date: Mar 2009
Posts: 9
Rep Power: 17
iperten is on a distinguished road
Dear all,

good morning.

I am simulating the flow within the diffuser of a centrifugal compressor and I'd like to post-process some properties (static pressure recovery coefficient, total pressure loss coefficient, efficiencies...) which are not available by default. They are of course functions of variables which are available in CFX-Post (like pressures, temperatures, velocities...).

Of course I know the formula to calculate them: how can I implement those formula in CFX-Post, in order to analyze them?

Thank you.
Kind regards,
MAttia.
iperten is offline   Reply With Quote

Old   April 3, 2009, 13:12
Default
  #2
Senior Member
 
Rikio
Join Date: Mar 2009
Location: SH, China
Posts: 182
Blog Entries: 1
Rep Power: 17
rikio is on a distinguished road
Send a message via Skype™ to rikio
Yes, define expressions from available variables to form variables you want. Define a quantitative that include the expression first, and then a variable.
Enjoy your work!
rikio is offline   Reply With Quote

Old   April 3, 2009, 14:42
Default
  #3
New Member
 
Mattia
Join Date: Mar 2009
Posts: 9
Rep Power: 17
iperten is on a distinguished road
Yes, I got that.

But my problem is: how do I define those expressions?!

Let's say I have 2 variables x and y and I want to calculate z=2*x+y: where do I write that formula?! Probably you are saying in the quantitative window: OK, but how?! I try to add something new, but I couldn't.

Thank you.

Kind regards.
iperten is offline   Reply With Quote

Old   April 5, 2009, 04:21
Default
  #4
Senior Member
 
Rikio
Join Date: Mar 2009
Location: SH, China
Posts: 182
Blog Entries: 1
Rep Power: 17
rikio is on a distinguished road
Send a message via Skype™ to rikio
For your example, just give a name for a quantitative, coorZ, for example. Then define the quan as 2*x+y. It is so simple. Then define a variable as cZ, select the quantity coorZ as the expression. Just give different names for the quantitative and variable. Or there will be conflicts of name convention.
I think you did not have a good look at the documentation, right? Do this to fix your puzzle, it will help you much. ^_^
rikio is offline   Reply With Quote

Old   April 6, 2009, 05:36
Default
  #5
New Member
 
Mattia
Join Date: Mar 2009
Posts: 9
Rep Power: 17
iperten is on a distinguished road
Well, I had read the manual, but with your answer it was easier to understand.

Thanks a bunch!

Cheers,
M.
iperten 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
Expressions of cylindrical velocity Rikio CFX 4 March 18, 2009 20:32
Orbital velocity Inlet expressions rc2v07 CFX 6 July 11, 2008 14:21
Cel expressions for trasient problem Jervds CFX 0 March 4, 2008 10:03
Defining Regions in ICEM Tom CFX 10 April 25, 2007 00:31
WENO Scheme Defining Boundary Stencil rampy Main CFD Forum 3 January 15, 2007 00:08


All times are GMT -4. The time now is 20:49.