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

No wavePeriod specification in waveProperties in interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2019, 08:57
Default No wavePeriod specification in waveProperties in interFoam
  #1
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
Hi all,

I am currently working on a free surface wave model around a cylinder.
I am running OpenFOAM version 7 on ubuntu 18.04.

I am curious as to how it is that no wavePeriods are specified in the DTCHullWave tutorial, although a (small amplitude) wave travels through the domain. Where do i specify the wave period or maybe just frequency of occurence?

Thank you!

/Rasmus

*UPDATE*
I've tried establishing the period in the wave tutorial, $FOAM_TUTORIAL/multiphase/interFoam/laminar/wave
where the surfaceelevation is written out every second. Please see attached picture.

The period is here 12.75 seconds (time from wave crest to wave crest). I cannot find where this is specified even with grep -r 12.75. Anyone??

**UPDATE**
A relation between the wavelength and wavePeriod has been established. For wavelength L=300, the period is 12.75 seconds. By halfing the wavelength, i.e. L=150, the wavePeriod is reduced by 2/3, that is approximately to T=8.5 seconds.
Again for L=75 meters the period is approximately T=5.6.
Attached Images
File Type: jpg period.JPG (33.3 KB, 16 views)

Last edited by Rasmusiwersen; October 9, 2019 at 08:51. Reason: Found period, although not where/how it is specified
Rasmusiwersen is offline   Reply With Quote

Old   October 7, 2019, 23:24
Default info from my side
  #2
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7
philiplu is on a distinguished road
hello, Rasmusiwersen,

I'm new in OF/OF-wave-simu, thus incapable to offer a decent answer concerning your Q, so I only share you some info from my side:

1. no idea of v7 yet, but in v1906, "wave" is already part of its pkg
2. in e.g. a (random) wave-tutorial-case of v1906, under "constant" dir, there's a "waveProperties" dict, where: "wavePeriod"-input

btw. I wonder:
a). did you make any results-post-processing? (if your "surfaceelev" refers to water-air-interface), it's "sharp" indeed, as in the result I attained, e.g. alpha.water, the boundary btw water/air was fuzzy
b). I also posted my Q, but get no answer yet,
BC in water wave simulation
so do you know, when the outlet is e.g. overbank-slop, instead of open-water, how to define the outlet?

as follows, there openwater-outlet uses "shallowWaterAbsorption", but how about a overbank-slop?
---------------------------------------------------------
outlet
{
alpha alpha.water;
waveModel shallowWaterAbsorption;
nPaddle 1;
}
---------------------------------------------------------


good luck
philiplu is offline   Reply With Quote

Old   October 9, 2019, 08:48
Default
  #3
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
hello, Rasmusiwersen,

I'm new in OF/OF-wave-simu, thus incapable to offer a decent answer concerning your Q, so I only share you some info from my side:
Quote:
Originally Posted by philiplu View Post
1. no idea of v7 yet, but in v1906, "wave" is already part of its pkg
2. in e.g. a (random) wave-tutorial-case of v1906, under "constant" dir, there's a "waveProperties" dict, where: "wavePeriod"-input
Thank you for your considerations. In OF version 7, this option is not available in the waveProperties dictionary. I will however try and specify it, to see what error comes out of it. Is the exact syntax like this "wavePeriod 7;"?

Quote:
Originally Posted by philiplu View Post
btw. I wonder:
a). did you make any results-post-processing? (if your "surfaceelev" refers to water-air-interface), it's "sharp" indeed, as in the result I attained, e.g. alpha.water, the boundary btw water/air was fuzzy
b). I also posted my Q, but get no answer yet,
BC in water wave simulation
so do you know, when the outlet is e.g. overbank-slop, instead of open-water, how to define the outlet?

as follows, there openwater-outlet uses "shallowWaterAbsorption", but how about a overbank-slop?
---------------------------------------------------------
outlet
{
alpha alpha.water;
waveModel shallowWaterAbsorption;
nPaddle 1;
}
---------------------------------------------------------


good luck
I would appreciate it if my post can regard the wavePeriod entry only. This mitigates the confusion for future readers, so that they find answers to what they search for only. I will post you my take on your questions in your post.
Rasmusiwersen is offline   Reply With Quote

Reply


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Question about interFoam Solver Kahnbein.Kai OpenFOAM Running, Solving & CFD 2 August 26, 2019 16:36
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58
Problem of InterFoam with LES SpalartAllmarasIDDES keepfit OpenFOAM 3 August 29, 2013 12:21


All times are GMT -4. The time now is 00:08.