|
[Sponsors] | |||||
[waves2Foam] Function object to extract overtopping rate - how to use it? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 ![]() |
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 09:46. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 38 ![]() ![]() |
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. |
|
|
|
|
|
|
|
|
#3 | |
|
New Member
William Yan
Join Date: May 2015
Posts: 1
Rep Power: 0 ![]() |
Quote:
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! |
||
|
|
|
||
|
|
|
#4 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 38 ![]() ![]() |
Hallo William,
In controlDict you add in functions: Code:
overtopping0
{
type overtopping;
functionObjectLibs ( "libporosityModule.so" );
outputControl timeStep; // Alternative: outputTime
outputInterval 1;
}
Code:
name overtopping0;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (105.8 14.04 0) (106.2 35 0.2);
}
Code:
setsToZones -noFlipMap Code:
Niels P.S. Thanks to Bjarne Jensen for the example.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Carlos Garrido
Join Date: May 2011
Posts: 3
Rep Power: 16 ![]() |
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, |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
| Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
| [blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
| DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
| Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |