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

BC in water wave simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2019, 01:55
Default BC in water wave simulation
  #1
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7
philiplu is on a distinguished road
Hello,

most of the water wave tutorials in OF-doc have the outlet-BC as follows:

---------------------------------------------------------
outlet
{
alpha alpha.water;
waveModel shallowWaterAbsorption;
nPaddle 1;
}
---------------------------------------------------------

assuming that such outlet-BC is "open" to water,
but if the "outlet"-side is a wall, how could a wall-outlet-BC (where e.g. reflecting could also be enabled) be defined in water wave simulation?



thank you in advance
philiplu is offline   Reply With Quote

Old   October 9, 2019, 10:35
Default
  #2
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
I am not entirely sure i understand your question.
If you want to make the outlet a wall, i would assume you can apply the wall type boundary condition to the "outlet", and the call the patch something else (so no confusion arise, as the patch wouldn't allow any flow to actually leave the model).
As to your comment made in my post previously, i am not sure if you want to include the reflection caused by the pertubed seabed? If so, I would say it is a question of the wave theory you use. For small waves nothing will happen, i.e. linear wave theory will suffice. For large waves, some of the bound harmonics can shoot off once exiting the pertubed area. For this you would need some degree of non-linearity.

In terms of post-processing, i've attached two pictures containing the free surface using Threshold and isoVolume respectively. These can be found in the "Filters" ribbon and choosing the "Alphabetical" option.

Hope this helps.
Attached Images
File Type: jpg thres.jpg (77.0 KB, 17 views)
File Type: jpg vel.jpg (39.9 KB, 16 views)
Rasmusiwersen is offline   Reply With Quote

Old   October 14, 2019, 07:59
Default
  #3
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7
philiplu is on a distinguished road
hello, Rasmusiwersen,

I've also compiled an OFv7 and had a quick look in it, so know now:

the wave-tutorials in v7 and v1906 are different (i.e. different in the case-settings).

thus also wonder, in v7-waveCases where did you input the wave period?
philiplu is offline   Reply With Quote

Old   October 14, 2019, 11:11
Default
  #4
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
Quote:
Originally Posted by philiplu View Post
hello, Rasmusiwersen,

I've also compiled an OFv7 and had a quick look in it, so know now:

the wave-tutorials in v7 and v1906 are different (i.e. different in the case-settings).

thus also wonder, in v7-waveCases where did you input the wave period?
Philip,

Unfortunately, I have not found an entry option for the wave Period in OpenFOAM version 7. I did find a correlation between the wave length (specified in the waveProperties) and the waveperiod. This was however quite a relatively vague and imprecise way of specifying it. Therefore I have turned to OpenFOAM version 1906, where the period specification is listed in the waveProperties dictionary.

Hope this helps you on your way.

Happy foaming.
Rasmusiwersen is offline   Reply With Quote

Old   October 14, 2019, 21:56
Default
  #5
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7
philiplu is on a distinguished road
Hello, Rasmusiwersen,

thx for the reply.

probably you meant: you find the (v7-)period in an implicit way,
i.e. using a point over water surface by e.g. the "plot over time"-function of ParaView



have fun in your "waving" and keep in touch
philiplu 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
Pressure for wave height in an Water Wave Tank Cluain CFX 8 December 6, 2021 04:58
Solid object falling in water tank simulation cassini83 CFX 3 August 9, 2021 18:05
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 13:39
Simulation Water and Oil URGENT problem alexandrelp CFX 3 May 5, 2014 22:20
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


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