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

bin data gives wrong data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2017, 07:18
Default bin data gives wrong data
  #1
New Member
 
Paul Fraaß
Join Date: Feb 2017
Location: Germany
Posts: 1
Rep Power: 0
Paul F. is on a distinguished road
Dear Fomers,

this is my first post on this site so I hope that I do everything correctly.

I am currently doing a numerical study and I try to validate my simulation by comparing the results to a laboratory experiment. I have a 1.25m high wave flume with an 0.88m long pile (cylinder) which is fixed at the top so that I have a 0.37m gap under the pile and a water level of 0.67m. The total Force, total Moment, local velocity and wave elevation are all in good agreement. The last data I need to get is the force on a 0.04m high submerged segment of the pile.
To get this information I used the following bin function.

Code:
forces1
{
    type                forces;
    functionObjectLibs  ( "libforces.so" );
    outputControl       timeStep;
    timeInterval        1;
    log                 yes;
    pName               pUPrho;
    patches             ( Pile );
    rhoName             rhoInf; // Indicates incompressible
    rhoInf              1; // Redundant for incompressible
    CofR                (0 1.1 0.5); // Axle midpoint on ground

    // Optional writing of force volume fields
    writeFields         yes;

    binData
    {
        nBin                22; // output data into 20 bins Pile length 88cm every four cm one segment starting from the bottom
        direction           (1 0 0); // bin direction
        cumulative          yes;
    }
}
}
// ************************************************************************* //
When reviewing the data, it turned out that the bin force is about double the total force and therefore way higher than the local force from the laboratory.

also when printing out the data above stillwaterlevel where no wave should hit the pile anymore I still get a harmonic force wave when plotting in gnuplot.

Am I using the bin function wrong? does it not divide the pile into segments of the same height?

thank you for your effort

Paul
Paul F. is offline   Reply With Quote

Reply


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
[OpenFOAM] Parafoam, Record/Play Test: Wrong data displayed mosch ParaView 0 June 24, 2014 10:09
[OpenFOAM] saving data in paraview aylalisa ParaView 3 May 31, 2014 11:38
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
studying a valve case mina.basta OpenFOAM 33 August 30, 2013 04:46
[OpenFOAM] Cell Data to Point Data Issues mcintoshjamie ParaView 2 November 19, 2009 03:55


All times are GMT -4. The time now is 00:03.