|
[Sponsors] |
November 13, 2002, 07:39 |
Expression language
|
#1 |
Guest
Posts: n/a
|
Hi !
I am trying to calculate the average streamwise velocity in my flow. CFX guys adviced me to write an expression in CFX-Build e.g. uaver=volumeAve(u)@fsub (fsub is my subdomain name) The problem with this is, that the return values are something else then I expected and they are not consistent with the expression uavar=volumeAve(Velocity u)@fsub in CFX-Post. Does anyone has a idea what is wrong and how should I get my streamwise velocity average. Thanks, Andrej |
|
November 13, 2002, 07:48 |
Re: Expression language
|
#2 |
Guest
Posts: n/a
|
Are you working in conservative values?
|
|
November 13, 2002, 08:21 |
Re: Expression language
|
#3 |
Guest
Posts: n/a
|
Hi Holidays !
For faster communication I would rather have your e-mail address. Till now I haven't discover conservative/non-conservative switch in CFX5 solver. I think that incompressible calculation was selected somewhere, but I cannot find where. Nevertheless, this should not effect expression volumeAve()@fsub. For example volumeAve(v)@fsub calculates 10000 time higher value than volumeAve(Velocity v)@fsub in CFX-Post; volumeAve(u)@fsub returns 48 per cent of volumeAve(velocity u)@fsub value. Andrej |
|
November 13, 2002, 08:35 |
Re: Expression language
|
#4 |
Guest
Posts: n/a
|
Hi Andrej,
It will affect your calculation in Post. Hybrid values use the value at the wall for the wall node instead of the near wall control volume (which you get if you choose "conservative"). Robin |
|
November 13, 2002, 08:39 |
Re: Expression language
|
#5 |
Guest
Posts: n/a
|
Hi !
Hybrid/Conservative switch in CFX-post changes values for max 10 per cent, but not for factor of 10000. Andrej |
|
November 14, 2002, 02:21 |
Re: Expression language
|
#6 |
Guest
Posts: n/a
|
With such a discrepancy you must be able to suspect one or the other to be the faulty expression. Which one is it?
|
|
November 14, 2002, 04:30 |
Re: Expression language
|
#7 |
Guest
Posts: n/a
|
Hi !
Apparently I discover a new bug; Is there a bug list for CFX programs ? I don't like to spend much time on mistakes of others. CFX 5.5 is not able to calculate correct volumetric average for velocity components - something has to be wrong with integration. Expressions: volumeAve(u)@domain and volumeInt(u)@domain do not produce right values. The same is for v and w. I did't have any problem calculating pressure (p) volumetric average (volumeAve) or areal average (areaAve) for velocity components (u,v,w). It is just velocity volumetric average or integration which I found WRONG. Andrej P.S. Maybe CFX 5.5.1 doesn't have this problem any more. |
|
November 14, 2002, 05:20 |
Re: Expression language
|
#8 |
Guest
Posts: n/a
|
"P.S. Maybe CFX 5.5.1 doesn't have this problem any more. "
...or 5.6 Beta? |
|
November 14, 2002, 19:16 |
Re: Expression language
|
#9 |
Guest
Posts: n/a
|
So, to get this straight. You calculated an expression in the solver and the same expression in Post and the result is different?
How were you reporting the result of the expression from the solver? Also, what units is the solver running in and what units are you evaluating to in Post? Robin |
|
November 15, 2002, 20:17 |
Re: Expression language
|
#10 |
Guest
Posts: n/a
|
I don't think this is in the solver, Andrej is saying that volumeAve(Velocity <u|v|w>)@location is giving different results that volumeAve(<u|v|w>)@location, in CFX-Post. Perhaps whoever works on CFX-Post should be informed of this, if it's true and can be reproduced.
Neale. |
|
November 18, 2002, 19:54 |
Re: Expression language
|
#11 |
Guest
Posts: n/a
|
Yes, I can see that from he previous post. What I would like to know is where he is calling this in the solver and how it is being reported.
Robin |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 02:11 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 17:23 |
Creating, loop or iteration using expression edito | Jan | CFX | 3 | July 28, 2003 11:01 |