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

equivalent cell expressoins difeerent results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2008, 07:06
Default equivalent cell expressoins difeerent results
  #1
Fabrizio
Guest
 
Posts: n/a
Hello,

does anybody now why doing

massFlow()@boundary

and

areaInt(Density*Velocity w)@boundary

I get different results? The boundary normal is directed as z axes so I should have the same result.

If I want to evaluate the mass flow of a specific variable thru the boundary it is better to use

massFlowInt(var)@boundary

or

areaInt(Density * Velocity w * var)@boundary

(they also give different results).

Thanks for any suggestion.

Fabrizio.

  Reply With Quote

Old   January 10, 2008, 10:14
Default Re: equivalent cell expressoins difeerent results
  #2
CycLone
Guest
 
Posts: n/a
Hi Fabrizio,

When you calculate mass flow in Post, it uses the integration point flows which are reported from the solver. Element faces are broken into sectors, with integration points at the center of each face. By integrating over the sector faces you'll get different results from integration over element faces. Furthermore, the mass flow at the face won't be exactly the same as Density*Velocity w because of the effects of pressure as the velocity field varies.

You could review the solver theory documentation to see how the equations are discretized and these mass flows are calculated. In summary, by using the solver IP values, Post is providing a more accurate representation of the mass flows.

If you need to use the mass flow in a more general calculation, you can use the Mass Flow variable, which will also use IP values. If you integrate 'Mass Flow*var' over the face (i.e. sum(Mass Flow*var)@boundary) you should get the same result as massFlowInt(var)@boundary.

-CycLone

P.S. There are a other integrated values for which you may see these differences. For instance, Post will use IP values for Force calculations.
  Reply With Quote

Old   January 11, 2008, 05:08
Default Re: equivalent cell expressoins difeerent results
  #3
Fabrizio
Guest
 
Posts: n/a
Hello CycLone,

thank you very much for your answers. (By the way I apologize for the typing errors in the subject).

So areaInt function in Post doesn't use IP value of the variable, and this should explain the differences. In fact looking at the .out file of the solver I see that the mass flows reported in the balances are exactly the same as the ones computed in Post by massFlow.

I had a look at the solver documentation: it is not easy to figure the IP positions in a 3D mesh! Anyway as far as I understand if the mass flow rate is computed using the IP it is not exactly computed on the patch since IP are not located exactly on the boundary patch... Did I understand it well?

Thanks again.

Fabrizio.

  Reply With Quote

Old   January 11, 2008, 05:51
Default Re: equivalent cell expressoins difeerent results
  #4
Fabrizio
Guest
 
Posts: n/a
Just one more thing about this.

I noted that using massFlow()@inlet and massFlow()@outlet() I recover the same results as the .out file mass balance.

But using massFlowInt(smoke)@outlet and massFlowInt(smoke)@inlet I get different results from the .out file balance...
  Reply With Quote

Old   January 11, 2008, 16:06
Default Re: equivalent cell expressoins difeerent results
  #5
CycLone
Guest
 
Posts: n/a
Hi Fabrizo,

It is exactly computed on the boundary patch. It looks like the solver theory doesn't explicitly show this, but at boundaries an integration point is located on the boundary sub-face.

-CycLone
  Reply With Quote

Old   January 11, 2008, 16:08
Default Re: equivalent cell expressoins difeerent results
  #6
CycLone
Guest
 
Posts: n/a
Is smoke introduced at your inlet or within the volume? If it is within the volume, the solver OUT file will include the internal sources in the balance.

-CycLone
  Reply With Quote

Old   January 14, 2008, 04:44
Default Re: equivalent cell expressoins difeerent results
  #7
Fabrizio
Guest
 
Posts: n/a
So near boundaries integration points are forced to be on the boundary patches. Ok, this means I can trust blindly in what I get if the integral quantity is computed by using integration points..

Thanks.
  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
Different Results from Fluent 5.5 and Fluent 6.0 Rajeev Kumar Singh FLUENT 6 December 19, 2010 11:33
Storing Surface Area of each cell in a file? Markus Alzon FLUENT 0 June 21, 2007 08:38
Problems with repeating results Lee Siemens 4 May 26, 2006 03:39
Ultra high temperature? bk Siemens 2 July 19, 2005 00:01
What is the difference between the cell numbers ? Lee Siemens 3 September 28, 2003 07:28


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