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

Simulating a small gulf/enclosed beach with realistic bathymetry and brakewaters

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By harenaobsidet

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2024, 09:02
Default Simulating a small gulf/enclosed beach with realistic bathymetry and brakewaters
  #1
New Member
 
pe_sta's Avatar
 
Stamatios Petalas
Join Date: Dec 2023
Posts: 14
Rep Power: 3
pe_sta is on a distinguished road
Send a message via Skype™ to pe_sta
Hello all,

I cannot stop being impressed by the high ratio of versatility over complexity that the REEF3D modelling system displays. However, as a new user I still have some difficulties when the level of customization increases...

I'm trying to simulate the wave field that reaches a specific beach using realistic geography/bathymetry, with SFLOW.

The goal is to use this as the control simulation and then make additional tests by placing breakwaters at specific places, which will hopefully showcase an attenuation of wave energy reaching the coast.

The problem I'm facing is that although things start well, at some point an instability starts developing in the form of a strong depression in eta (see figure - contours show bathymetry with 1m increments). This instability grows and, although it does not lead to a blow-up, eventually it takes over most of the domain. This is a strong sign that something is wrong with my setup. The same happens when I place breakwaters in the grid (as solids).

The domain is about 400m x 700m in size, with a maximum depth of ~20m, and forced by 2nd order Stokes wave generation. I'm using the latest version of REEF3D. I include the control and ctrl files for the run shown in the figure, however I have tried numerous other configurations so far by combining a multitude of parameter changes.
Things I've tried include:
  1. Designating faces C12, C13 as either symmetry planes (3), numerical beaches (7), or walls (21).
  2. Changing the resolution and crop of the grid.
  3. Changing between geodata for topo and solid (G 9)
  4. Different convection schemes for momentum (A211)
  5. Diffusion for velocities on/off (A212)
  6. Roughness on/off (A 218)
  7. Different pressure schemes (A 220)
  8. Hydrostatic pressure in shallow areas (A 242)
  9. Wetting/drying on/off
  10. Different turbulence models (A 260)
I have the impression that the reflected wave at the beach is creating this instability, but couldn't find a way to adjust the reflection (or increase the dumping coeff). I understand that adjusting the numerical beach parameters doesn't have to do with the actual beach slope due to topography.

Could anyone please help with hints/suggestions?

Best,
Stamatis

PS: I have run the above configuration successfully, with good results, using the FNPF solver, but could not make the solid breakwaters work and this is why I turned to the SFLOW solver.
Attached Images
File Type: jpg figure_eta.jpg (51.3 KB, 31 views)
Attached Files
File Type: txt control.txt (316 Bytes, 22 views)
File Type: txt ctrl.txt (1.2 KB, 11 views)
pe_sta is offline   Reply With Quote

Old   August 1, 2024, 06:04
Default
  #2
Member
 
Alexander Hanke
Join Date: Dec 2023
Location: Trondheim
Posts: 44
Rep Power: 4
harenaobsidet is on a distinguished road
Hello Stamatios,

When you tried running the simulation with FNPF, did you check if the solid was high enough to pierce the water surface?
I just tried the FNPF tutorial, you asked about in a previous thread, with an added solid and that seemed to be working fine. The z-dimension of the solid needed to be a lot larger than the defined domain to account for the geo data.
__________________
Alexander Hanke
Team REEF3D
www.reef3d.com
harenaobsidet is offline   Reply With Quote

Old   August 2, 2024, 04:44
Default
  #3
Member
 
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6
Felix_Sp is on a distinguished road
Hello

I have two Ideas for SFLOW. First, have you tried a uniform grid? I think SFLOW in general does not support a non-uniform grid yet, as in your setup.

Second. I had a number of problems with wetting and drying for some time (cell gets dry due to a low water depth and generates a small shock wave). Did you try changing A244 or A245 (default for wetting and drying)? Also, I think a non-uniform grid is not accurate for a combination with A245, as the grid size for the wetting and drying is wrong.

Cheers
Felix_Sp is offline   Reply With Quote

Old   August 5, 2024, 07:34
Default
  #4
New Member
 
pe_sta's Avatar
 
Stamatios Petalas
Join Date: Dec 2023
Posts: 14
Rep Power: 3
pe_sta is on a distinguished road
Send a message via Skype™ to pe_sta
Quote:
Originally Posted by harenaobsidet View Post
Hello Stamatios,

When you tried running the simulation with FNPF, did you check if the solid was high enough to pierce the water surface?
I just tried the FNPF tutorial, you asked about in a previous thread, with an added solid and that seemed to be working fine. The z-dimension of the solid needed to be a lot larger than the defined domain to account for the geo data.
Thank you Alexander,

I am trying two cases; one with the breakwater slightly submerged (1m bellow the surface) and one with the breakwater piercing the surface.
The surface field in both cases doesn't seem to be affected by the breakwater (in the second case I even made the breakwater a lot taller than the still water level).
I am using S 84 - "hexahedron object" to create the solid. How did you create it?
Apart from the solid, are you changing anything else to the tutorial files?

Best,
Stamatis
pe_sta is offline   Reply With Quote

Old   August 5, 2024, 10:27
Default
  #5
Member
 
Alexander Hanke
Join Date: Dec 2023
Location: Trondheim
Posts: 44
Rep Power: 4
harenaobsidet is on a distinguished road
Hello Stamatis,

I only added a S 10 object. The object was higher than the highest point of the geo-data and large compared to the cell size.
However, I only checked the Fifsf value of the FSF output.

Tutorial.jpg

The upper box is a S 84 and the lower one is S 10.
Does this look more like what you want it to be?
pe_sta likes this.
__________________
Alexander Hanke
Team REEF3D
www.reef3d.com
harenaobsidet is offline   Reply With Quote

Old   August 6, 2024, 05:44
Default
  #6
New Member
 
pe_sta's Avatar
 
Stamatios Petalas
Join Date: Dec 2023
Posts: 14
Rep Power: 3
pe_sta is on a distinguished road
Send a message via Skype™ to pe_sta
Quote:
Originally Posted by harenaobsidet View Post
I only added a S 10 object. The object was higher than the highest point of the geo-data and large compared to the cell size.
However, I only checked the Fifsf value of the FSF output.

The upper box is a S 84 and the lower one is S 10.
Does this look more like what you want it to be?
Yes, I was expecting something similar to your figure. I also made the object much taller than the geo-data highest point, but I'm not getting similar results.
I will check again my input and try what you suggest, i.e. make the object relatively larger compared to the cell size (by decreasing the cell size, as the object's size must remain the same).

One last thing I would like to ask is, can the FNPF solver handle objects that are submerged (e.g. just bellow the surface, but enough to induce wave braking)? I would expect the potential flow solver to be able to handle these situations.

Thanks again,
Stamatis
pe_sta is offline   Reply With Quote

Old   August 6, 2024, 06:46
Default
  #7
New Member
 
pe_sta's Avatar
 
Stamatios Petalas
Join Date: Dec 2023
Posts: 14
Rep Power: 3
pe_sta is on a distinguished road
Send a message via Skype™ to pe_sta
Quote:
Originally Posted by Felix_Sp View Post
Hello

I have two Ideas for SFLOW. First, have you tried a uniform grid? I think SFLOW in general does not support a non-uniform grid yet, as in your setup.

Second. I had a number of problems with wetting and drying for some time (cell gets dry due to a low water depth and generates a small shock wave). Did you try changing A244 or A245 (default for wetting and drying)? Also, I think a non-uniform grid is not accurate for a combination with A245, as the grid size for the wetting and drying is wrong.

Cheers
Hello Felix,

thanks a lot for your response and suggestions.

I don't understand exactly what you mean by "uniform grid". Does it mean having a square cell? I have been using ocean models with highly irregular or curvilinear grids throughout the years, so the grid I'm using here with a rectangular cell size of ~2.5m x 2.9m seams pretty uniform to me (everything is similar everywhere, all cells are the same size and I think I'm not using any stretching factor in the horizontal direction, i.e. B101/102/103 are off). Am I missing something?


As I mentioned, I tried turning off the wetting/drying by turning A243 off, but this resulted in an early blowup.
I will try again by making the grid more uniform, by removing B2 and trying to make all the cells square. I will also try to change A244 and 245 instead of A243 and let you know how it went.

Cheers,
Stamatis


P.S.:
I understand your hypothesis regarding the creation of small shock-waves, and indeed I find it very plausible. However, there must be an additional existent instability, as, the creation of shock-waves alone does not explain how these instabilities grow so large and take over the entire domain.
pe_sta 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



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