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

What is the propriate usage of patch boundary conditions?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fturkmen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2021, 04:48
Default What is the propriate usage of patch boundary conditions?
  #1
New Member
 
Furkan Türkmen
Join Date: May 2021
Posts: 7
Rep Power: 4
fturkmen is on a distinguished road
Hello,


When I use the inflow discharge options to set inlet boundary conditions, I realized that the inflow velocity changed (it can be read from the main log file, Ui). I have tried to set water level fixed at the inlet boundary conditions to remain velocity same during simulation but it did not remain same. I used ioflow and discharge options to make that.



I have also tried patch boundary conditions, I turned off the ioflow, then there was no velocity at the inlet. I think that I do not understand the usage of patchBC. There is different options for patch boundary condition in the last release 21.05. What is the correct combination of these settings to make constant the velocity at the inlet? Actually I want to give the velocity magnitude and direction directly for the inlet BC.



PS: I used CFD solvers, free surface analysis.


Thank you,

Best regards,
Furkan
ali_b124 likes this.
fturkmen is offline   Reply With Quote

Old   June 6, 2021, 03:44
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 377
Rep Power: 17
valgrinda is on a distinguished road
If you set the discharge as a boundary condition, the inlet velocity is defined as U =Q/A. So when the free surface level changes, the velocity is adjusted so that the discharge condition is fulfilled.

The main idea of patchBC is that it defines inflows/outflows in a very flexible way. Wall boundaries are converted by patchBC using the options B 440, B 441 and B 442 in REEF3D, so at any boundary in the domain. For this, you use wall boundaries for all sides in DIVEMesh.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   June 7, 2021, 01:41
Default
  #3
New Member
 
Furkan Türkmen
Join Date: May 2021
Posts: 7
Rep Power: 4
fturkmen is on a distinguished road
Hello Prof. Bihs,


Thank you for the answer, I will try.


Regards
fturkmen is offline   Reply With Quote

Old   October 16, 2021, 04:44
Default
  #4
New Member
 
Hao hao
Join Date: Aug 2021
Posts: 9
Rep Power: 4
Hao666 is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
If you set the discharge as a boundary condition, the inlet velocity is defined as U =Q/A. So when the free surface level changes, the velocity is adjusted so that the discharge condition is fulfilled.

The main idea of patchBC is that it defines inflows/outflows in a very flexible way. Wall boundaries are converted by patchBC using the options B 440, B 441 and B 442 in REEF3D, so at any boundary in the domain. For this, you use wall boundaries for all sides in DIVEMesh.
Hi Han bihs What functions can I use to simulate Wave + Current,
Hao666 is offline   Reply With Quote

Old   October 17, 2021, 14:39
Default
  #5
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 377
Rep Power: 17
valgrinda is on a distinguished road
Hi Hao Hao,

the wave libraries are currently not connected to the patchBC system. This is something we currently work on.

At the moment you can use the regular wave tank by using B 60. See the NWT tutorial examples. You can add current to waves by using W 10. Then waves and current are generated from the same inlet.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   October 18, 2021, 21:43
Default
  #6
New Member
 
Hao hao
Join Date: Aug 2021
Posts: 9
Rep Power: 4
Hao666 is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
Hi Hao Hao,

the wave libraries are currently not connected to the patchBC system. This is something we currently work on.

At the moment you can use the regular wave tank by using B 60. See the NWT tutorial examples. You can add current to waves by using W 10. Then waves and current are generated from the same inlet.
Hi Han Bihs
Thank you so much for your useful advice,which will be of great help to me in learning REEF3D in the future.
Best regards
Hao666 is offline   Reply With Quote

Reply

Tags
patchbc, reef3d


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Radiation interface hinca CFX 15 January 26, 2014 17:11


All times are GMT -4. The time now is 21:55.