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

Mass flow through arbitrary holes not on a boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2015, 08:03
Question Mass flow through arbitrary holes not on a boundary
  #1
New Member
 
Chenelle Basson
Join Date: May 2014
Location: South Africa
Posts: 5
Rep Power: 12
Chenelle is on a distinguished road
Hi!

I'm simulating the flow through a micro gas turbine engine combustion chamber in order to determine the mass flow distribution through the different sets of holes. My simulation runs and I am able to get results and convergence. The only problem I have is obtaining the mass flow or surface averaged velocity through the holes, because they are not on a boundary.

Please see attached image for reference.

I have tried many things and I am still unable to determine the mass flow through these holes.

My first attempt was to try and define a plane per hole in the controlDict file and then limit the plane to the hole's diameter. Here is the code:

Code:
functions
{
    A1
    {
        type            faceSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        outputControl   outputTime;
        log             true;
        valueOutput     true;
        source          sampledSurface;
    surfaceFormat     vtk;
        sampledSurfaceDict//faceZoneDict//
        {
            type            plane;    // always triangulated
            basePoint       (-0.040571 -0.0233665 -0.1528);
            normalVector    (-0.040571 -0.0233665 0);
        zone        A11;            
        }
        operation       areaAverage;
        fields
        (
            U
        );
    }
};
// ************************************************************************* //
I tried to define the zones in the topoSetDict file:

Code:
actions
(
    {
        name    A11;
        type    cellSet;
        action  new;
        source  cylinderToCell;
        sourceInfo
        {
               p1       (-0.040874 -0.023541 -0.1528); 
               p2       (-0.040268 -0.023192 -0.1528);  
            radius   0.0008;
        }
    }
)
However when the code is run the surface averaged velocity over the entire plane is calculated, instead of the surface averaged velocity through the hole.

Another approach I took was to create concetric rings as baffles around the combustor where each of the sets of holes are located using snappyHexMesh (as this is how the entire geometry is meshed). The patches are created, but now the simulation won't run, because they demand that I define a boundary condition on those patches. Please see attached picture .

I tried defining a cyclic condition on the master and slave patches, but I am unable to.

Any help in this regard would be greatly appreciated.

Regards,
Chenelle
Attached Images
File Type: jpg CombustorInDomain.jpg (19.5 KB, 23 views)
File Type: jpg screenshotwithRings.jpg (27.8 KB, 21 views)
Chenelle is offline   Reply With Quote

Old   October 13, 2015, 04:46
Default Solution
  #2
New Member
 
Chenelle Basson
Join Date: May 2014
Location: South Africa
Posts: 5
Rep Power: 12
Chenelle is on a distinguished road
Hello!

I have found a solution to my problem in the following post:
http://www.cfd-online.com/Forums/ope...tml#post567870
Chenelle is offline   Reply With Quote

Reply

Tags
mass flow, surface averaged velocity


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Split boundary zone in FLUENT for mass flow eishinsnsayshin FLUENT 1 January 18, 2013 14:43
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
mass flow inlet boundary condition vivian FLUENT 5 April 21, 2006 07:23


All times are GMT -4. The time now is 17:48.