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

Average axial velocity in OF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2015, 11:21
Question Average axial velocity in OF
  #1
New Member
 
Karim
Join Date: Aug 2015
Location: Munich
Posts: 1
Rep Power: 0
KarimIdris is on a distinguished road
Hello fellows,

I知 new to openFoam. I have done a 3D simulation for a flow inside a pipe, and now I知 interested in the average of the axial velocity. Is there any post processing tool in OF that calculates the average velocity over the radial surface?

Thanks a lot
KarimIdris is offline   Reply With Quote

Old   September 16, 2019, 10:37
Default
  #2
New Member
 
George Sof
Join Date: Jun 2019
Posts: 13
Rep Power: 7
lastjedivol is on a distinguished road
Quote:
Originally Posted by KarimIdris View Post
Hello fellows,

I知 new to openFoam. I have done a 3D simulation for a flow inside a pipe, and now I知 interested in the average of the axial velocity. Is there any post processing tool in OF that calculates the average velocity over the radial surface?

Thanks a lot

Hello and sorry to recover such an old thread, but did you manage to find a solution to your problem?


Thank you
lastjedivol is offline   Reply With Quote

Old   September 17, 2019, 03:24
Default
  #3
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
Hmm, I see... radial surface. Please ignore the following...

I create a cellSet using topoSet:
Code:
    {
        name    upstream;
        type    cellZoneSet;
        action  new;
        source  boxToCell;
        box     (-101. -10. -1.)(-100. 10. 10.);
    }
and then I define the output in controlDict
Code:
functions
{
    inflow
    {
        type            volFieldValue;
        libs            ("libfieldFunctionObjects.so");
        writeFields     true;
        writeControl    writeTime;
        writeInterval   1;
        regionType      cellZone;
        name            upstream;
        operation       volAverage;
        fields
        (
            U
        );
    }
}
ingraban is offline   Reply With Quote

Reply

Tags
average field, average velocity, openfoam 2.1.1


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
Convective boundary condition using average velocity bala_gk1988 OpenFOAM Programming & Development 1 January 16, 2019 10:04
VELOCITY vs VELOCITY IN STN FRAME vs RELATIVE VELOCITY everest20 FLUENT 1 July 13, 2015 09:35
Axial Velocity Contour in non-planar bend omidmd FLUENT 2 October 7, 2014 15:22
Average velocity over a section of cells Radhika Siemens 4 November 8, 2006 17:53


All times are GMT -4. The time now is 13:37.