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

MassFlow on a choosen surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2016, 05:30
Post MassFlow on a choosen surface
  #1
New Member
 
Jordan Palombo
Join Date: Jun 2016
Posts: 1
Rep Power: 0
Jo_Plmb is on a distinguished road
Good morming everybody.

I'm a brand new OpenFOAM user (I started a month ago) and I have a little problem.
I am working on the decompression of a cylinder thanks to the sonicFoam solver and now I want to calculate the mass flow average under the modelised hole where air flows, inside the volume.

I have already used a function in the controlDict to calculate the massFlow (phi) but thanks to this method I can only calculate it over a patch
functions
(
massFlow
{
type patchMassFlow;
functionObjectLibs
(
"libsimpleFunctionObjects.so"
);
verbose true;
patches
(
outlet
);
factor 1;
outputControl timeStep;
outputInterval 1;
}

I also tried to use a sampleDict to have the average massflow over a line but after running it, I have no results for phi nor rho.

I use this sampleDict :
setFormat raw;

interpolationScheme cellPoint;

fields ( rho phi );

sets
(
line
{
type uniform;
axis z;
start (0 0 1.79);
end (0 0 1.74);
nPoints 100;
}
);

The real constraint is that I have to be able to calculate the mass flow average anywhere in my structure without drawing a patch.

If you have any idea what I have done wrong I'll pleased to read your comments

Thanks.
Jo_Plmb is offline   Reply With Quote

Reply

Tags
massflow, sonifoam


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
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 11:05
[snappyHexMesh] Add additional boundary layers to complex stl surface tobijingles OpenFOAM Meshing & Mesh Conversion 1 October 26, 2011 10:45
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43
Patran Volume Meshing Deb CFX 19 April 17, 2003 10:56
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 06:47


All times are GMT -4. The time now is 04:29.