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

Marine/Waves in OPENFOAM

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

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2018, 17:18
Default Marine/Waves in OPENFOAM
  #1
New Member
 
Otavio Duarte Aires Heckler
Join Date: Oct 2016
Location: Brazil
Posts: 6
Rep Power: 9
OtavioDuarte is on a distinguished road
Hello!

I'm having problems in a multiphase case, I'm using OpenFOAM 6, I'm adapting the wave tutorial. Because I'm trying to simulate a wave tank, but I can not simulate the wave according to the analytic wave. In my simulations the period is always smaller in relation to the theoretical period, and also affects the amplitude of the wave.
*
**** My wave is:
**
**********
**************** length 65.4 m
**************** amplitude 0.5 m
********** period 7.5 s

But in this version of OpenFoam it is not possible to put wave Celerity, just the mean flow. In my case it's zero, because I want to simulate just the wave.

Could it be an OpenFOAM bug?

My file is attached.

Thank's!
Attached Files
File Type: gz wave.tar.gz (3.5 KB, 21 views)
OtavioDuarte is offline   Reply With Quote

Old   July 24, 2018, 20:52
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Otavio,

no idea what is going on with that wave generation, but if you use olaFlow ( https://github.com/phicau/olaFlow ) in OF6 you can specify the wave period that you desire in waveDict:

Code:
waveType        regular;
waveTheory      StokesII;
genAbs          1;
absDir          0.0;
nPaddles        1;
waveHeight      0.5;
wavePeriod      7.5;
waveDir         0.0;
wavePhase       1.57079633;
Best,

Pablo
OtavioDuarte likes this.
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   July 29, 2018, 13:44
Default
  #3
New Member
 
Otavio Duarte Aires Heckler
Join Date: Oct 2016
Location: Brazil
Posts: 6
Rep Power: 9
OtavioDuarte is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi Otavio,

no idea what is going on with that wave generation, but if you use olaFlow ( https://github.com/phicau/olaFlow ) in OF6 you can specify the wave period that you desire in waveDict:

Code:
waveType        regular;
waveTheory      StokesII;
genAbs          1;
absDir          0.0;
nPaddles        1;
waveHeight      0.5;
wavePeriod      7.5;
waveDir         0.0;
wavePhase       1.57079633;
Best,

Pablo
Thank you very much, your response was very helpful. Now my tank is working perfectly.

Many thanks,

Otavio Duarte.
OtavioDuarte is offline   Reply With Quote

Old   August 1, 2018, 03:58
Default
  #4
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 137
Rep Power: 19
JNSN is on a distinguished road
Hi Otavio,


I had a short look at your case. Your wave length is 65m, your wave tank has a depth of 10m, i.e. this is shallow water. Therefore both the period and amplitude will be affacted.


Best regards,
Jan
JNSN is offline   Reply With Quote

Reply

Tags
openfoam, wave, wave boundary conditions, wave generation

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM Foundation releases OpenFOAMŪ 3.0.0 CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 1 November 7, 2015 15:16
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 09:03.