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

[waves2Foam] GABCSettings for solitary wave based on chappelear1962

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2022, 05:02
Default GABCSettings for solitary wave based on chappelear1962
  #1
New Member
 
Liang Sun
Join Date: May 2022
Posts: 3
Rep Power: 4
liangsun is on a distinguished road
Dear All,

I am running the 'solitary' case in 'tutorials' of waves2Foam. But I am not sure that how to calculate the 'celerityFactor' in GABCSettings. Does anyone have more ideas? Thank you.

Example:

inletCoeffs
{
waveType chappelear1962;

x0 (-10 0 0);

height 0.15;
depth 0.50125;
direction (1 0 0);

GABCSettings
{
preProcessMethod constantDepth;
celerityFactor 1.11;
}
}
liangsun is offline   Reply With Quote

Old   May 15, 2022, 05:38
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Dear Liang,


The celerity factor reflects the propagation speed of the wave to absorb, while my experience is that it matters less, what it is for wave generation. Consequently, I would run a few 2DV cases, where the performance of absorption of any internal reflection and/or propagation out of the down-wave boundary is checked.



The celerity factor in case of constantDepth is a factor on sqrt(gh) with h being still water depth at the boundary. For solitary waves, propagation speed exceeds sqrt(gh) (see e.g. the Boussinesq solution to solitary waves), so the celerity factor exceeds one (1). The celerity factor depends on the ratio of wave-height-to-water-depth.


I hope that you will find the GABC useful.



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.
ngj is offline   Reply With Quote

Old   May 20, 2022, 21:12
Default
  #3
New Member
 
Liang Sun
Join Date: May 2022
Posts: 3
Rep Power: 4
liangsun is on a distinguished road
Quote:
Originally Posted by ngj View Post
Dear Liang,


The celerity factor reflects the propagation speed of the wave to absorb, while my experience is that it matters less, what it is for wave generation. Consequently, I would run a few 2DV cases, where the performance of absorption of any internal reflection and/or propagation out of the down-wave boundary is checked.



The celerity factor in case of constantDepth is a factor on sqrt(gh) with h being still water depth at the boundary. For solitary waves, propagation speed exceeds sqrt(gh) (see e.g. the Boussinesq solution to solitary waves), so the celerity factor exceeds one (1). The celerity factor depends on the ratio of wave-height-to-water-depth.


I hope that you will find the GABC useful.



Kind regards


Niels
Dear Niels,

Thank you for the answer. By my calculation, celerity of solitary wave with height=0.15 and depth=0.50125 is 2.527169, which is different from the value 1.11 in tutorial.

I find the GABC is very useful in my research.

Kind regards

Liang
liangsun is offline   Reply With Quote

Old   May 23, 2022, 06:55
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Dear Liang,


The celerity factor is nondimensional; please refer to the source code. In your specific case, it is



2.527169 [m/s] / sqrt(g 0.50125 [m]) = 1.1397 [-]



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.
ngj is offline   Reply With Quote

Old   May 23, 2022, 19:48
Default
  #5
New Member
 
Liang Sun
Join Date: May 2022
Posts: 3
Rep Power: 4
liangsun is on a distinguished road
Dear Niels,

Got it. Thank you for the reply.

Kind regards

Liang
liangsun is offline   Reply With Quote

Reply

Tags
gabc

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
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 457 March 27, 2024 00:59
Pressure wave reflection compressibleInterIsoFoam dplthuy OpenFOAM Running, Solving & CFD 1 July 28, 2022 10:53
[waves2Foam] Wave breaking occurring at H/D = 0.5 (wave height/Depth) edwinrajeev OpenFOAM Community Contributions 1 June 24, 2021 11:45
How to Install Numerical Wave and Pressure Gauges in the Numerical Wave Tank? mushtak Main CFD Forum 0 November 2, 2020 02:34
How does Star CCm+ evaluate the wave lenght of wave when we indicate the value of the BRICE P. STAR-CCM+ 3 November 16, 2018 02:46


All times are GMT -4. The time now is 22:56.