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

[waves2Foam] Wave Flume tutorial

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 17, 2014, 15:22
Default Wave Flume tutorial
  #1
New Member
 
Dmitrijs Gavrilovs-Stepanovs
Join Date: Jun 2014
Posts: 15
Rep Power: 11
Dmitrjs is on a distinguished road
Hi everyone,

First of all, Niels, thank you very much for the tool and your effort in helping everyone to solve their problems.
My problem is the following:
I am using waveFlume tutorial to simulate waves propagating in a wave tank. I had to change the length of the tank and the depth so that it matches the required dimensions. I need to simulate a wave with a period of 0.913 seconds and a wave height of 0.033 metres. The depth of the wave tank is now 1 metre and the length is 17.965.
The problem I experience is that the wave's amplitude decreases with the length of the tank (x-coordinate) and it is also out of the phase when I compare it to the analytical solution of the Stokes First Wave theory (this is what I am using). The following graphs demonstrate it (surface elevation at x=0, x=4, x=7.46 metres).

x_0.jpg

x_4.jpg

x_746.jpeg

I am also attaching my case files:

https://www.dropbox.com/s/glv29onc0k2ehof/My_case.zip

What I tried to do was refining the mesh significantly, but it made absolutely no difference. I also tried to use Stokes Second Wave Theory, but it gave exactly the same results.
I also went through this thread and found a discussion of the similar problem to mine. It was posted by JanL (Jan Lohrmann), post #57, page 3.

Quote:
Originally Posted by JanL View Post
Hi Niels,


I'm very interested in your tool and have been testing it recently. I'd like to use it for seakeeping-analysis and hence I'm interested in Stokes-theories at first. I calculated different cases, compared them with the analytical solutions and unfortunately got some strange results. I specifically analysed the results at x=2.5 (middle of inlet-relaxation-zone), x=5 (end of inlet-relaxation-zone) and x=9 (middle of free computational domain). Here is what I have done:


  1. I have been solving the standard tutorial of waveFlume for StokesFirst. The standardised amplitude changes by the distance from the inlet-relaxation-zone quite dramatically (see figure 1).
  2. Since that case is designed for shallow water, I modified the domain to a depth of 2m (which I also changed in waveProperties.org) to have a deepwater case. Now the amplitude generally decreases by the distance from the inlet-relaxation-zone and the wave-length increases, so that the waves get out-of-phase from the analytical solution (see figure 2).
  3. Afterwards I tried StokesSecond in the standard waveFlume case which gives almost perfect results (see figure 3)!
  4. Running the same case for deepwater (2m) again produces results with lower amplitudes and longer wave-lengths (see figure 4).


Have you, or anybody else experienced similar results? I already tested different settings like refining the mesh or the time-step or calculating under turbulent conditions which had different minor effects on the solution.
Have you any ideas what could have gone wrong?


Regards


Jan
It seems like he had some problems with using the inappropriate amplitude with the deep water case which was not valid for Stokes First Theory. After he changed the wave height to 0.02 (with the depth of 2) it worked out for him. In my case I am having a wave height of 0.033 with the depth of 1 and it should be valid for Airy Stokes Theory.

I would really appreciate if someone would take a look at my problem or maybe someone has had it already? Thank you in advance!
Dmitrjs is offline   Reply With Quote

 


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
need tutorial files(Simulation of Wave Generation in a Tank) gholamghar FLUENT 45 May 6, 2018 10:57
[waves2Foam] wave dissipation a long of x wave flume MehdiCFD OpenFOAM Community Contributions 2 July 18, 2017 04:01
[waves2Foam] Stokesfirst wave profile asymetrical against the still water level?? zhxter OpenFOAM Community Contributions 2 March 23, 2015 12:08
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
need tutorial files(Simulation of Wave Generation in a Tank) gholamghar FLUENT 0 March 28, 2009 03:08


All times are GMT -4. The time now is 10:57.