CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   waves2Foam waveFlume reflections (https://www.cfd-online.com/Forums/openfoam-solving/97985-waves2foam-waveflume-reflections.html)

 Betsy February 29, 2012 18:15

waves2Foam waveFlume reflections

Hello - I have just installed the waves2Foam library on OFv2.1.1 and have run the tutorial waveFlume. The wave appears linear at the beginning but soon there is a reflected wave that distorts the incoming wave. The video is here: http://youtu.be/VwNF65Fkdbo
Can anyone offer an explanation or a fix??
Thank you,
Betsy

 Betsy February 29, 2012 21:55

Ok, I have extended the domain length and it appears the left running wave interfering with the right running wave is not a reflection. Here is a video: http://youtu.be/yfZ1eXDDa4s
Again, I'm not sure what is causing this. Any help is appreciated.
Thanks,
Betsy

 daveatstyacht February 29, 2012 23:14

Betsy,
Your wave's amplitude appear to be quite large relative to the wave length which may mean that linear wave theory might not be the best choice. Try running smaller wave amplitudes and see if the behavior persist. I have not had any issues with strange behavior in that tutorial for reasonable amplitudes.

Dave

 ngj March 1, 2012 03:40

Hi Betsy

What you see is exactly caused by the large amplitude linear wave in shallow waters. The explanation is as follows:

Quote:
 The first example is the spatial change of a sinusoidal wave of finite wave height, which is generated at the inlet over a horizontal bed. The prescribed sinusoidal motion does not satisfy the complete non-linear wave problem, hence bound higher order harmonics are generated adjacent to the boundary. In order to fulfil the first order theory at the boundary, however, spurious free higher harmonics are likewise created, which have amplitudes equal to their bound counterparts, but with opposite phase, such that they cancel one another at the inlet. Interaction between these harmonics leads to an energy transfer, which can be identified as beat lengths, see [24] for further details.
where the quote is taken from our article:
@article { jacobsenFuhrmanFredsoe2011,
Author = {Jacobsen, N G and Fuhrman, D R and Freds\o{}e, J},
title = {{ A Wave Generation Toolbox for the Open-Source CFD Library: OpenFoam\textregistered{} } },
Journal = {{ Int. J. Numerl. Meth. Fluids} },
Year = {In print},
Volume = {},
Pages = {},
DOI = {{10.1002/fld.2726} },
}

If you choose stokesSecond instead, you should experience that the rate of energy exchange decreases, since the spurious waves generated will be of third order.

Kind regards,

Niels

 Betsy March 1, 2012 20:17

Yes, this makes sense. Thank you both for your replies.
Betsy

 rezacfd1361 August 24, 2013 04:48

An error in waveFlume test of waves2Foam

Hy guys,
I tried to run the tutorial waveFlume from waves2Foam. I run blockMesh and the mesh generated successfully. Now I want to see the mesh by paraview and after typing: paraFoam I got this error :

WARN file does not exist:
./system/fvSchemes
./system/fvSolution
created temporary 'waveFlume.OpenFOAM'
Application asked to unregister timer 0x63000017 which is not registered in this thread. Fix application.

My OpenFOAM version is 2.1.1. Would you tell me how can I fix this error?

Thanks

 rezacfd1361 August 24, 2013 04:52

waves2Foam

Hi guys,
Is there a user guide for using waves2Foam?

 ngj August 24, 2013 05:53

Hi,

The only thing around would be the forum and especially this thread:

http://www.cfd-online.com/Forums/ope...ed-topics.html

and the wiki-page

http://openfoamwiki.net/index.php/Contrib/waves2Foam

Kind regards

Niels

 All times are GMT -4. The time now is 02:12.