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

[waves2Foam] Function object to extract overtopping rate - how to use it?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2015, 07:03
Default Function object to extract overtopping rate - how to use it?
  #1
Member
 
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0
hchen is on a distinguished road
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?

Last edited by hchen; March 5, 2015 at 08:46.
hchen is offline   Reply With Quote

Old   March 5, 2015, 11:43
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 21, 2015, 11:12
Smile
  #3
New Member
 
William Yan
Join Date: May 2015
Posts: 1
Rep Power: 0
William Yan is on a distinguished road
Quote:
Originally Posted by ngj View Post
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!
William Yan is offline   Reply With Quote

Old   May 25, 2015, 07:09
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
Jose_J, ethan13 and Metqeu like this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 10, 2019, 02:15
Default How to read Overtopping output
  #5
New Member
 
Carlos Garrido
Join Date: May 2011
Posts: 3
Rep Power: 14
carlosar is on a distinguished road
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,
carlosar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


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