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

[CFD POST ] Averaging Values for one direction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2011, 08:49
Default [CFD POST ] Averaging Values for one direction
  #1
Member
 
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15
max3.2 is on a distinguished road
Hello,

I've got a little Problem with Post. I am simulating a Channel Flow where x is flow direction, y is depth and z is height. For calculating some loss coeffs (a quotient of different pressures), I used the areaAve expression at different Planes in x-normal-direction before and behind a blade profile, and so getting a constant value.
Now I'm trying the following: With still fixed x-value (the Plane Location), I want to average the variable value (TotalPressure) in the y-direction for every height (z) for plotting a loss coeffs vs. channel height chart.
I cant find a y-average function or something like that....can anybody help?
Thanks in advance.

Best Regards
Max
max3.2 is offline   Reply With Quote

Old   April 27, 2011, 10:39
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 21
stumpy is on a distinguished road
I guess you could create line objects rather than planes, then use the lengthAve function.
Note that when averaging Total Pressure you should use massFlowAve, not areaAve. areaAve can be used for Static Pressure.
stumpy is offline   Reply With Quote

Old   April 27, 2011, 11:11
Default
  #3
Member
 
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15
max3.2 is on a distinguished road
Quote:
Originally Posted by stumpy View Post
Note that when averaging Total Pressure you should use massFlowAve, not areaAve. areaAve can be used for Static Pressure.
Thanks for the hint =)

Quote:
Originally Posted by stumpy View Post
I guess you could create line objects rather than planes, then use the lengthAve function.
If i get what you mean: Yes, i can create lines with z,x=const and the use lenght average on each. then create a plot with the linevalues. the experimental data i have to compare to deals with approx. 100 values, also, there is a thesis with a plot with a lot more points (curves are really smooth).
isnt there a way to do this auto? i thought about integrating and dividing by the (constant) lenght. but i still cant find a way to do it so i get an exp oder var which is only a f(z)
max3.2 is offline   Reply With Quote

Old   April 28, 2011, 11:37
Default
  #4
Member
 
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15
max3.2 is on a distinguished road
Nobody?
Isnt there any way to "collapse" plane values (yAve()@Plane, etc..) to eliminate the y-coord? Or any other way to extract such data,even to a dat file or smth..
max3.2 is offline   Reply With Quote

Old   May 4, 2011, 04:49
Default
  #5
Member
 
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15
max3.2 is on a distinguished road
A little bit of news: I contacted CFX Support and maybe getting an answer soon. It seems that there is a Script doing it. I will post a solution if there's one.
max3.2 is offline   Reply With Quote

Old   May 4, 2011, 08:23
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use the record session option in CFD-Post to record a few steps like making a plane and extracting values. Then edit the session file and insert some perl and you have it.
ghorrocks is offline   Reply With Quote

Old   May 4, 2011, 15:15
Default
  #7
Member
 
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15
max3.2 is on a distinguished road
Hi,

CFX supported me with a session file doing so.

Max
max3.2 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
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
post data starcd_learner Siemens 0 February 1, 2006 12:24
Adding all the values in a post register Cb Siemens 3 March 11, 2005 14:40
post processing CL values Joe Bryant FLUENT 2 October 18, 2004 05:17
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 12:59


All times are GMT -4. The time now is 11:34.