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

CFX-Post: problem with mass flow

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Rui

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2005, 22:05
Default CFX-Post: problem with mass flow
  #1
Markus
Guest
 
Posts: n/a
Hi!

My problem is that I need to calculate the mass flow at different cross sections in my fluid domain. The calculator always gives me a mass flow of 0 kg/s at planes that I have created in CFX-Post. The calcultion for boundary surfaces is no problem.

Then I tried to use to creat an expression: areaInt(Velocity*Density)@plane This expression gives me a value but I tried this expression at my outlet were I can use the calculator as well.

The calculator gives me the value of my boundary condition (-5e-005 kg/s), with the expression I get 3.78595e-005 [kg s^-1]!

Can anyone tell what is wrong and why the calculator is not working for the mass flow at created planes??

Thanks,

Markus
  Reply With Quote

Old   February 4, 2005, 15:38
Default Re: CFX-Post: problem with mass flow
  #2
Rui
Guest
 
Posts: n/a
Hi,

The calculator gives the value 0 kg/s, probably because you have defined the Plane Type as Sample, and the plane bounds are larger than your domain. Visualize the plane and see if it is larger than your domain.

If you define the Plane Type as Slice, the plane will be bounded by your domain size and I believe the calculator will give a value for the massFlow.

Note that your expression is not totally correct, as the massflow is correctly expressed by areaInt(Density * Velocity dot n)@Plane, where Velocity is the velocity vector, n the plane outward normal vector and dot indicates the dot product between 2 vectors. In your expression, Velocity is interpreted by the calculator as the velocity vector norm, and the result will be greater than the correct one (the results will be the same only if the velocity vector and the n vector have the same direction at every point).

The reason why the calculator gives a higher result for massflow than for your expression may be the same stated here: http://www.cfd-online.com/Forum/cfx.cgi?read=9519

Regards,

Rui
  Reply With Quote

Old   February 8, 2005, 17:26
Default Re: CFX-Post: problem with mass flow
  #3
Markus
Guest
 
Posts: n/a
Hi Rui!

Thanks for your help. I tried the expression but I recieve the following error message:

ERROR Error in setting: "mymassflow" via the expression: areaInt(Density*Velocity dot n)@Plane areaInt(Density*: read successfully, and then error found at item: Velocity dot n unrecognised name

The plane is defined as Slice.

Thanks,

Markus
  Reply With Quote

Old   February 9, 2005, 16:17
Default Re: CFX-Post: problem with mass flow
  #4
formercfxuser
Guest
 
Posts: n/a
Is one of your velocities normal to your outlet or the planes you want to investigate - then you could use that one. Even if that is not the case you could transform the velocities and create a variable wich is the normal velocity to the plane.
  Reply With Quote

Old   February 12, 2005, 16:18
Default Re: CFX-Post: problem with mass flow
  #5
Rui
Guest
 
Posts: n/a
Hi,

You receive that error because there isn't such variable "Velocity dot n". I meant that the mass flow through a surface is calculated as the integral of (density * Velocity DOT n) over that surface, where Velocity is the velocity vector, n the surface outward normal vector, and DOT is the dot (or inner) product between 2 vectors. You may find this in any fluid mechanics book.

CFX-Post doesn't do the dot product between 2 vectors. So, you have to do it by yourself. You have to create an expression: velDOTn=Velocity u*Normal X + Velocity v*Normal Y + Velocity w*Normal Z ; then create a variable, called NormalVelocity for example, and chose the expression VelDOTn.

To obtain the mass flow through a surface (which may be a plane or not) just do: areaInt(Density*NormalVelocity)@Surface

However, as stated in http://www.cfd-online.com/Forum/cfx.cgi?read=9519 , there may be a difference between the values obtained with massFlow and with the expression.

Regards,

Rui

Antech and hanischt like this.
  Reply With Quote

Old   February 19, 2005, 18:30
Default Re: CFX-Post: problem with mass flow
  #6
Markus
Guest
 
Posts: n/a
Thanks Rui! Seams to work well.

Markus
  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
mass flow rate not conserved in turbomachine, interface defined wrong? wildli FLUENT 3 September 15, 2022 13:19
Steam flow problem in CFX bharath CFX 1 June 25, 2009 00:11
CFX for multiphase flow problem NITIN DEWANGAN CFX 6 August 11, 2008 18:24
cfx post problem bharath CFX 2 August 4, 2008 12:59
Determine mass flow rate along flow path Atit Koonsrisuk CFX 2 October 5, 2003 05:47


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