CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [waves2Foam] Function object to extract overtopping rate - how to use it? (https://www.cfd-online.com/Forums/openfoam-community-contributions/206265-function-object-extract-overtopping-rate-how-use.html)

hchen March 5, 2015 07:03

Function object to extract overtopping rate - how to use it?
 
Hi All:

I notice that waves2Foam has a runtime function object to extract overtopping rate, anybody has used this function object? It seems that I should define a face zone where the overtopping rate across it can be extracted?

ngj March 5, 2015 11:43

Yes, it has been used to evaluate the overtopping in our paper Jensen, Jacobsen and Christensen (2014); more details can be found on the wiki.

Yes, you need to define a faceSet or faceZone (please check the source) and it comes with some strict naming conventions. You should be able to check that in the source code, as I do not have access to it right now. Naming convention is chosen for easy evaluation of multiple sets/zones.

Kind regards,

Niels

William Yan May 21, 2015 11:12

Quote:

Originally Posted by ngj (Post 534708)
Yes, it has been used to evaluate the overtopping in our paper Jensen, Jacobsen and Christensen (2014); more details can be found on the wiki.

Yes, you need to define a faceSet or faceZone (please check the source) and it comes with some strict naming conventions. You should be able to check that in the source code, as I do not have access to it right now. Naming convention is chosen for easy evaluation of multiple sets/zones.

Kind regards,

Niels

Hi Niels,

I am working on the overtopping too and recently I got a problem of naming the faceZone. It will be very helpful if you can provide me an example of overtoppingDict. Thanks a lot!

ngj May 25, 2015 07:09

Hallo William,

In controlDict you add in functions:

Code:

    overtopping0
    {
        type overtopping;
        functionObjectLibs ( "libporosityModule.so" );

        outputControl  timeStep; // Alternative: outputTime
        outputInterval  1;
    }

And then you create a corresponding faceZone with the same name, e.g. overtopping0. This you can do with topoSet. In topoSetDict in order to create a faceSet:

Code:

        name    overtopping0;
        type    faceSet;
        action  new;
        source  boxToFace;
        sourceInfo
        {
                box  (105.8 14.04 0) (106.2 35 0.2);
        }

And then convert this to a faceZone by:

Code:

        setsToZones -noFlipMap
Code:


Kind regards,

Niels

P.S. Thanks to Bjarne Jensen for the example.

carlosar September 10, 2019 02:15

How to read Overtopping output
 
Hello Niels and others,


Can you tell me how to read the overtopping output?. As I know the overtopping.dat contains a 3 component vector with an instantaneous overtopping volume, but I don't understand the meaning of this three vector component.


Can anyone give me some tips about this.


Thank you,


All times are GMT -4. The time now is 22:49.