|
[Sponsors] |
March 7, 2008, 04:32 |
Hi Jens
OpenFOAM calculates t
|
#2 |
New Member
Maximilian Graser
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 18
Rep Power: 17 |
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 |
|
|
|
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 |