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

Air diffuser velocity magnitude and direction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2013, 04:36
Default Air diffuser velocity magnitude and direction
  #1
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Hey guys,
i'm newbie and i hope i post in the correct section. i'm right now try to study the mass flow rate of air at the outlet of a diffuser. We know that to get mass flow rate, we need the average of normal velocity multiply to its cross sectional area.

my problem is,
how to get air velocity magnitude and direction with respect to surface area (at a certain point)?

i know fluent can produce a vector contour,
but can i get to the database of the velocity magnitude and direction (for each point)?

thx

-kenzo-
kenzosenzo is offline   Reply With Quote

Old   December 27, 2013, 07:57
Default
  #2
Senior Member
 
Join Date: Jan 2010
Location: Germany
Posts: 268
Rep Power: 17
Zaktatir is on a distinguished road
Yes you can access them by UDF but I dunno why you need that!
Zaktatir is offline   Reply With Quote

Old   December 27, 2013, 11:18
Default
  #3
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Would it not be easier to take the mass flow rate calculated by CFD Post?
This way, you wont even get into trouble when the incompressibility assumption in the formula you described breaks down.
flotus1 is offline   Reply With Quote

Old   December 27, 2013, 22:17
Default
  #4
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by Zaktatir View Post
Yes you can access them by UDF but I dunno why you need that!
Can you please explain more about UDF? My study is actually involve in the accuracy by comparing cfd method with anemometer instrument. So i need cfd data to find velocity magnitude and direction to compare with anemometer reading.

At the end i'll produce correction factor
kenzosenzo is offline   Reply With Quote

Old   December 27, 2013, 22:21
Default
  #5
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Would it not be easier to take the mass flow rate calculated by CFD Post?
This way, you wont even get into trouble when the incompressibility assumption in the formula you described breaks down.
That's one of the thing,
But my study need to know the velocity magnitude and direction at a certain point. Because i need to compare cfd method with anemometer gauge(where anemometer detect velocity at certain place).
kenzosenzo is offline   Reply With Quote

Old   December 28, 2013, 05:18
Default
  #6
Senior Member
 
Join Date: Jan 2010
Location: Germany
Posts: 268
Rep Power: 17
Zaktatir is on a distinguished road
then you do not need UDF (own subroutines)

You can plot a line/surface and then post-process the velocity profile along this line for example
Zaktatir is offline   Reply With Quote

Old   January 18, 2014, 05:09
Default
  #7
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by Zaktatir View Post
then you do not need UDF (own subroutines)

You can plot a line/surface and then post-process the velocity profile along this line for example
i manage to plot line and surface in the post processing
but i still cant figure out how to get the angle and direction of the velocities.
i hope these pictures will help.



the last picture is the angle that i need in my study,
does the post processing can produce this?
or any idea how can i get it?
kenzosenzo is offline   Reply With Quote

Old   January 21, 2014, 03:55
Default
  #8
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
So the angle you are searching for is the one between the positive x-axis and the flow in z-direction?

In this special case, you should be able to create an expression like
Code:
atan2(Velocity w,Velocity u)
Then you can create a variable from this expression that can be post-processed directly in CFD-Post.
If this is not exactly the angle you are searching for, you can surely find the correct adjustments to the formula.
flotus1 is offline   Reply With Quote

Old   January 22, 2014, 11:54
Default
  #9
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
So the angle you are searching for is the one between the positive x-axis and the flow in z-direction?

In this special case, you should be able to create an expression like
Code:
atan2(Velocity w,Velocity u)
Then you can create a variable from this expression that can be post-processed directly in CFD-Post.
If this is not exactly the angle you are searching for, you can surely find the correct adjustments to the formula.
thank you so much for the reply,
i'll try to use that code.

But the exact case is the angle at the surface of my diffuser in each blade (red arrow). I'll provide you this pic to be clear. So basically for a special case, i need to create an expression or code?

Thank you again.
kenzosenzo is offline   Reply With Quote

Old   January 22, 2014, 12:03
Default
  #10
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
If you add a coordinate system to your last picture you will be much closer to a solution.

If the directions do not coincide with the main cartesian directions, you can still add a custom coordinate system.
flotus1 is offline   Reply With Quote

Old   February 10, 2014, 04:10
Default
  #11
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
If you add a coordinate system to your last picture you will be much closer to a solution.

If the directions do not coincide with the main cartesian directions, you can still add a custom coordinate system.
sorry for late reply,
i'm a bit confuse to use your given code.
can you explain to me more clearly?

i mean the basic things to perform that code. Is it udf?
i'm really new to this.
kenzosenzo is offline   Reply With Quote

Old   February 10, 2014, 05:06
Default
  #12
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
First you need to create an expression:
expression.png

To make the result of the expression available for post-processing, you need to convert it to a variable:
variable.jpg

Then you can use it just like any other variable to do the post-processing:
contour.jpg

You should at least do some of the basic tutorials.
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 04:41
Default
  #13
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
First you need to create an expression:
Attachment 28606

To make the result of the expression available for post-processing, you need to convert it to a variable:
Attachment 28607

Then you can use it just like any other variable to do the post-processing:
Attachment 28608

You should at least do some of the basic tutorials.
okay i think now i get it.
so we make some custom variable with that expression to project
the velocity at certain plane/line right?

i'm trying this with simple geometry first and i manage to get
the clearer view of the velocities.

but how do we extract the information after doing that?
i mean the velocity magnitude and direction at that plane/line ?



kenzosenzo is offline   Reply With Quote

Old   February 11, 2014, 04:44
Default
  #14
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Have you tried to click on "file" -> "export"?
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 06:57
Default
  #15
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Have you tried to click on "file" -> "export"?
ohh, so now i get it.
the data from the specific area/line can be obtain
in excel format after we "export" it.

thank you so much,
if i have more question i'll notify here and i'll show my results for others as a guide.
kenzosenzo is offline   Reply With Quote

Old   March 20, 2014, 08:18
Default
  #16
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
First you need to create an expression:
Attachment 28606

To make the result of the expression available for post-processing, you need to convert it to a variable:
Attachment 28607

Then you can use it just like any other variable to do the post-processing:
Attachment 28608

You should at least do some of the basic tutorials.
may i know where to find some basic tutorial for this post processing? i mean i need to understand more on the expression "atan2(Velocity w,Velocity u)" to make sure it's what i need actually.

thank you so much!
kenzosenzo is offline   Reply With Quote

Old   March 20, 2014, 09:45
Default
  #17
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I hardly think that there are tutorials for any specific expression.
It just math, so the possible combinations of expressions and variables are infinite.
You will have to figure out for yourself if your equations do what you had in mind.
flotus1 is offline   Reply With Quote

Old   March 31, 2014, 07:03
Default
  #18
New Member
 
Adam
Join Date: Dec 2013
Posts: 13
Rep Power: 12
kenzosenzo is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I hardly think that there are tutorials for any specific expression.
It just math, so the possible combinations of expressions and variables are infinite.
You will have to figure out for yourself if your equations do what you had in mind.
Okay,
to check whether the expression is valid or not,
i try another diffuser with 30 degree of blade angle. This is the result.



So then, i plot a line in the middle of the diffuser
to export for the post processing. I have also draw the angle of velocity
that i need to make you understand.



noted that with the blade angle of 30 degree, probably the file that in the excel form will get nearly at 30 degree angle of velocity. (Angle normal to the surface of the diffuser outlet).

but later i get this "single" (should it be in x,y and z direction?) velocity angle and only between 0-9.45 degree.

Oh and this result i tried by using expression "atan2(Velocity w, Velocity u)"
i really need to understand how to make correct expressions.



Hope you can help me.
kenzosenzo 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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
Resultant force magnitude and direction in CFX-post sohailgermany CFX 6 October 27, 2018 09:32
Paraview - 2d vector glyphs colored by vector direction & magnitude newOFuser OpenFOAM 2 March 11, 2017 13:51
the mean of injection velocity magnitude and why wall film can't be used in steady? sope111 CFX 0 August 21, 2012 05:04
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 12:48.