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

calculating output parameter in cfd post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2013, 05:37
Default calculating output parameter in cfd post
  #1
New Member
 
markus kammann
Join Date: Jan 2013
Posts: 2
Rep Power: 0
markus67 is on a distinguished road
Hi Everybody,
I´m doing a cfd based design optimization in Ansys Workbench.
The goal is to maximize the flow uniformity in depending of a geometric parameter.

So my problem is to set up the calculation of the output parameter, the flow uniformity index, in cfd post.

I use the mathematical formular as follows:
Gamma=1-0,5*(sum(wi-wa))/wa

where wi is the local velocity on any position along a line and wa is the average velocity over the line. The sum goes all along the line for every local velocity from i=1 to n. n is about 200 or 300 the number of nodes at the line.
For this I set up a polyline through the area of interest.

The Problem now is how do I get the local velocity on any position along this polyline, to use it in an Expression?

When I do one single simulation there is no Problem to export the data from a chart and calculating the Parameter in excel. But how can I manage to calculate it in an optimization in workbench?

I allready seperated the polyline in segements with isoclips in depending of the y-axis of the COOS and calculated on every isoclip the local velocity, what worked fine. But when the geometry, as an input parameter in the optimization, changes, the iso clips are not at there right position anymore.

I hope I could express my problem sufficiently and there is a solution to my problem. I really appreciate everey help.

Thanks
markus67 is offline   Reply With Quote

Old   January 24, 2013, 05:33
Default
  #2
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Not sure if this answers your question, but you can give it a try by creating expressions in CFD post


wa=ave(Velocity)@Line 1
wi=Velocity
gamma=0.5*(sum(wi-wa)@Line 1) /wa

1-gamma is what you are looking for.

I didn't directly use "1-" in gamma itself, since the value may be too small and CFX may round it up to 1

Cheers
OJ
oj.bulmer is offline   Reply With Quote

Old   January 28, 2013, 08:20
Default
  #3
New Member
 
markus kammann
Join Date: Jan 2013
Posts: 2
Rep Power: 0
markus67 is on a distinguished road
Thanks a lot!
I don´t get the same values as when I calculate it in excel (modulus about 10 times lower). But I it works somehow and I think I can use it for my purpose.
Greets
Markus
markus67 is offline   Reply With Quote

Old   August 26, 2015, 09:28
Default
  #4
Senior Member
 
Join Date: Jun 2014
Location: Taiwan
Posts: 100
Rep Power: 11
SJSW is on a distinguished road
Could you tell me why gamma has to be multiplied by 0.5?
Thank you!
SJSW is offline   Reply With Quote

Reply

Tags
cfd post, optimization, parameter, workbench


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
[ANSYS Meshing] Displaying solid domains in CFD Post without meshing them. hda ANSYS Meshing & Geometry 5 October 24, 2016 09:26
Collect transient results CFD POST mortain CFX 15 April 17, 2015 08:29
User CEL Function and CFD Post chastain CFX 4 September 24, 2013 13:58
CEL mathematical functions in CFD Post Jonathan CFX 9 November 5, 2012 08:37
Proper output of angle of attack in CFX post Kevin CFX 3 October 18, 2006 12:18


All times are GMT -4. The time now is 21:53.