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

Comparing cases in CFD-post : Using scalar speed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 06:11
Default Comparing cases in CFD-post : Using scalar speed
  #1
New Member
 
Simon
Join Date: Apr 2014
Posts: 2
Rep Power: 0
swaldman is on a distinguished road
I am new to CFD-Post, and am trying to use CFD-Post to compare two cases, in order to plot the differences in speed between them.

If I plot u-velocity or v-velocity and use the Compare Cases tool, this is straightforward. However, the flow is not parallel to either axis so these are not useful for this purpose.

If I plot simply "velocity", then all differences appear as positive, regardless of whether the "Use absolute value of difference" checkbox is checked. I speculate that this is because internally, the program is calculating the differences in u- and v-velocities and then deriving the magnitude from that - which of course is always positive.

How can I show the positive and negative differences in scalar speed between two cases? From some googling I get the feeling that I may be able to "do it myself" using CEL, but I'm not clear on how.

Many thanks for any advice.
swaldman is offline   Reply With Quote

Old   April 11, 2014, 06:55
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
I would do something like this

1) Create a CEL expression called velmag as sqrt(velocity u^2+velocity v^2+ velocity w^2)
2) assign expression velmag to a new variable called speed
3) perform case comparison.
Lance is offline   Reply With Quote

Old   April 11, 2014, 11:12
Smile
  #3
New Member
 
Simon
Join Date: Apr 2014
Posts: 2
Rep Power: 0
swaldman is on a distinguished road
Quote:
Originally Posted by Lance View Post
I would do something like this

1) Create a CEL expression called velmag as sqrt(velocity u^2+velocity v^2+ velocity w^2)
2) assign expression velmag to a new variable called speed
3) perform case comparison.
Oh, that works perfectly, thank you. :-)
I think what I had missed was the need to first great an expression and then assign it to a variable - I had been trying to do this in one step and getting confused.
swaldman 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
Plotting Radial Velocity and Tangential Velocity in CFD Post ashtonJ CFX 5 July 13, 2015 02:49
Plotting the Viscosity Contour in CFD Post ashtonJ FLUENT 3 June 2, 2015 12:06
FEA results in CFD Post delaneyluke CFX 1 October 25, 2013 06:16
Poly lines in CFD Post ashtonJ CFX 0 December 2, 2010 02:46
(CFX POST) Rotational Speed ARJUN CFX 9 July 13, 2006 20:38


All times are GMT -4. The time now is 16:15.