CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Calculation of mass flow across a boundary

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 7, 2008, 04:32
Default Hi Jens OpenFOAM calculates t
  #2
New Member
 
Maximilian Graser
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 18
Rep Power: 17
graser is on a distinguished road
Hi Jens
OpenFOAM calculates the massflow at every surface in every timeStep. To create a file which contains the flux-data (filename = phi) for every writeInterval you have to tell it OF.
Therefore look at the fvSchemes dictionary in <root>/<case>/system
For more Infomation on fvSchemes read the UserGuide
page: U-104 + U-109 (chapter 4.4.7)

Now you have the flux and need to postprzess it. Therefore you need to integrate phi at your boundary. There is a OF-utility named patchIntegrate.
The Problem is that phi is defined as "surfaceScalarField" and patchIntegrate only integrates "volScalarField". To integrate phi you have to modify the patchIntegrate Tool to read and integrate surfaceScalarFields.

Hf
Max
graser is offline   Reply With Quote

 


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
Calculate Mass Flow in a faceSet during calculation torvic OpenFOAM Running, Solving & CFD 1 August 11, 2008 19:05
mass flow rate calculation Ahmed CFX 7 June 20, 2008 05:55
Calculation of mass flow rate msrinath80 OpenFOAM Running, Solving & CFD 0 April 18, 2007 14:05
Calculation of added mass in viscous flow kharati Main CFD Forum 2 February 1, 2006 00:28
Mass Flow Rate Calculation Paul FLUENT 9 March 23, 2002 08:37


All times are GMT -4. The time now is 10:52.