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

Periodic boundary conditions (C21 C22 C23)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2021, 14:45
Default Periodic boundary conditions (C21 C22 C23)
  #1
New Member
 
Vahid
Join Date: Jan 2011
Posts: 23
Rep Power: 15
va-ta-cfd is on a distinguished road
Dear All,
Hello,

Can someone explains C21 to C23 Periodic boundary conditions in DIVEMesh.
I wanted to assign periodic boundary conditions to the side walls of the numerical wave tank (i.e. Surfside2 and Surfside3), so the inclined waves that exit the domain, enter once again from the other side of the NWT. Is this possible in Reeef3D?

Thanks in advance
Vahid
va-ta-cfd is offline   Reply With Quote

Old   November 30, 2021, 16:23
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi Vahid,

the periodic boundary conditions are suitable for LES simulations. The NWT is not adapted to deal with periodicity. But that should not be a problem for wave simulations, I don't think it is that useful. Let me know what type of simulation you want to perform. Then I could suggest a good alternative approach.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   November 30, 2021, 17:08
Default
  #3
New Member
 
Vahid
Join Date: Jan 2011
Posts: 23
Rep Power: 15
va-ta-cfd is on a distinguished road
Hi Hans,

Thank you for the response.

I am trying to model the wave propagation on a sloped bed.
I have used the beach type of boundary condition for the side walls of NWT (upper and lower boundaries in the image I attached).
However, as can be seen on the image (the red rectangle), the inclined waves close to the side walls (on the constant elevation part of the bed) are curved toward the walls, which is not correct.
I have changed the side boundaries into no-slip wall and should see the results.

Since in real prototype the waves are infinite along the beach, I was wondering if there is this capability to assign the periodic boundary condition to the side walls, so that all the waves that exit the domain from the upper side once again enters from the lower side of the domain (in other words the wave field will not be influenced by the side walls)?

Best Regards,
Vahid
Attached Images
File Type: jpg Output2.jpg (79.3 KB, 35 views)
va-ta-cfd is offline   Reply With Quote

Old   November 30, 2021, 17:28
Default
  #4
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi Vahid,

with this type of scenario, I would recommend not trying to have perfect waves in the whole domain. Instead, assign a working zone where you need the correct waves. Around the working zone, use wave generation and numerical beach relaxation zones as needed.

Another option would be to turn the wave generation relaxation zone so that it is parallel to the incoming wave front.

While it maybe sound like a natural solution for this type of case, periodic boundary conditions would only work well if the free surface would be 100% symmetric, which is actually not the case.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   November 30, 2021, 17:51
Default
  #5
New Member
 
Vahid
Join Date: Jan 2011
Posts: 23
Rep Power: 15
va-ta-cfd is on a distinguished road
Hi Hans,

Can you explain more about the working zone?
I can imagine to model a more wider area so I can skip the wave deformations close to side walls.
Is this what you mean?

Best Regards,
Vahid
va-ta-cfd is offline   Reply With Quote

Old   December 1, 2021, 06:20
Default
  #6
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi Vahid,

with working zone I mean that you accept that the waves show some wall effects outside a given area. Have you tried to turn the relaxation zone? I think this will improve the curved waves on the right side wall.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   August 29, 2022, 09:05
Default
  #7
New Member
 
Fabio Pierella
Join Date: Aug 2013
Location: Trondheim
Posts: 6
Blog Entries: 1
Rep Power: 13
pierellozzo is on a distinguished road
Hi REEF3D team,

I am trying to simulate waves on a long shoaling beach (about 10-15 km long, a few km wide, with a 1:100 slope), with 3D incoming waves, and with the REEF3D::FNPF solver with periodic boundary conditions on the sides.

Periodic BC would allow me to run a long, "converged" simulation of a 3D sea state, limiting the sideways extension of the domain.

Two questions:

1- Is this feasible with the current FNPF solver?
2- Do you see any troubles with this setup, or any alternative paths I could take?

Best and thanks for your help,
Fabio
pierellozzo is offline   Reply With Quote

Old   August 29, 2022, 17:52
Default
  #8
New Member
 
Fabio Pierella
Join Date: Aug 2013
Location: Trondheim
Posts: 6
Blog Entries: 1
Rep Power: 13
pierellozzo is on a distinguished road
Dear all,

I here post some exciting updates

I have managed to set up a simulation, modifying slightly Tutorial 8.6.
I have simulated a 2000m x 2000m domain with irregular 3D waves and periodic BCs. To check periodicity, I have duplicated the view of the domain in Paraview.

The solver works as expected, and seems very robust to me
I attach two screenshots of the free surface elevation, one at t=0s (initial) and t=100s.

In the first, you can see the initial wave field which is not periodic.
In the second, you see that some spurious waves are generated at the domain boundary due to the enforcement of the periodic BC. We can still see a discontinuity in the wave field in the generation zone (bottom) but in the rest of the domain the free surface elevation is periodic.

My conclusion is that this setup would work perfectly out of the box, provided that one was able to provide the software with a 3D spectrum periodic in the y-direction.

Any thoughts or comments on this conclusion?

Thanks in advance,

Fabio
Attached Images
File Type: jpg eta.0000.jpg (31.3 KB, 23 views)
File Type: png eta.0100.png (189.1 KB, 19 views)
pierellozzo is offline   Reply With Quote

Old   August 31, 2022, 10:47
Default
  #9
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi Fabio,

great to see your results! Though at the moment, FNPF does not support periodic boundary conditions. What you describe as spurious waves are actually reflections. So far, we have only implemented true periodic BCs for CFD.

What I would recommend to do is to employ relaxation zone beaches at the sides of the basin.

For the future: do you think periodic BCs would be useful to have in FNPF? Would this approach actually work?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Reply

Tags
boundary, conditions, periodic


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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 06:53
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
PEMFC module + multiple periodic boundary conditions vkrastev FLUENT 2 December 22, 2014 05:15
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


All times are GMT -4. The time now is 11:41.