
[Sponsors] 
February 3, 2005, 21:05 
CFXPost: problem with mass flow

#1 
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 CFXPost. 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 (5e005 kg/s), with the expression I get 3.78595e005 [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 

February 4, 2005, 14:38 
Re: CFXPost: problem with mass flow

#2 
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.cfdonline.com/Forum/cfx.cgi?read=9519 Regards, Rui 

February 8, 2005, 16:26 
Re: CFXPost: problem with mass flow

#3 
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 

February 9, 2005, 15:17 
Re: CFXPost: problem with mass flow

#4 
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.


February 12, 2005, 15:18 
Re: CFXPost: problem with mass flow

#5 
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. CFXPost 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.cfdonline.com/Forum/cfx.cgi?read=9519 , there may be a difference between the values obtained with massFlow and with the expression. Regards, Rui 

February 19, 2005, 17:30 
Re: CFXPost: problem with mass flow

#6 
Guest
Posts: n/a

Thanks Rui! Seams to work well.
Markus 

Thread Tools  Search this Thread 
Display Modes  


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 12:19 
Steam flow problem in CFX  bharath  CFX  1  June 24, 2009 23:11 
CFX for multiphase flow problem  NITIN DEWANGAN  CFX  6  August 11, 2008 17:24 
cfx post problem  bharath  CFX  2  August 4, 2008 11:59 
Determine mass flow rate along flow path  Atit Koonsrisuk  CFX  2  October 5, 2003 04:47 