|
[Sponsors] |
[CFD POST ] Averaging Values for one direction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2011, 08:49 |
[CFD POST ] Averaging Values for one direction
|
#1 |
Member
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15 |
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 |
|
April 27, 2011, 10:39 |
|
#2 |
Senior Member
Join Date: Apr 2009
Posts: 531
Rep Power: 21 |
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. |
|
April 27, 2011, 11:11 |
|
#3 | ||
Member
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15 |
Quote:
Quote:
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) |
|||
April 28, 2011, 11:37 |
|
#4 |
Member
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15 |
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.. |
|
May 4, 2011, 04:49 |
|
#5 |
Member
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15 |
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.
|
|
May 4, 2011, 08:23 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
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.
|
|
May 4, 2011, 15:15 |
|
#7 |
Member
Max
Join Date: Apr 2011
Posts: 47
Rep Power: 15 |
Hi,
CFX supported me with a session file doing so. Max |
|
|
|
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 |