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

B 98 3 Wave Generation Method Relaxation Dirichlet doesn't work

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2022, 18:03
Lightbulb B 98 3 Wave Generation Method Relaxation Dirichlet doesn't work
  #1
JnV
New Member
 
Vergara Juan
Join Date: Feb 2022
Posts: 1
Rep Power: 0
JnV is on a distinguished road
Hello!

I'm trying to calibrate a wave model and then add currents to it (in a 2d model).

When I generate the wave model and do it with the B 98 2 relaxation method it "works" properly, but when I switch to the Dirichlet method (B 98 3), the wave does not flow along the channel.

In order to model wave + current, I need to use B 98 3 & B 99 0.
  • Any suggestions on how to fix this error?
  • the problem may be in the domain (control file)?
  • Am I modeling it wrong?

B 98 2
https://ibb.co/Qb0w690

B 98 3
https://ibb.co/ySsKJ9Q

control.txt
ctrl.txt


I'm a fairly new user to this, so any help, comments or guidance could be of great help to me.


JnV
JnV is offline   Reply With Quote

Old   March 11, 2022, 03:47
Default
  #2
Super Moderator
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 175
Rep Power: 10
kamath is on a distinguished road
Hei Vergara,
You seem to be using an older version of the code.
Please update to the latest release and let us know if you still have problems and we can pursue it further.

I see you are on an older code as the new version accepts only two values for
B 93 (wave height and period)
B 96 (zones on two ends of the tank)

With three values as you have now, the latest code should give you an error right at the start.

With a slightly older code, you will get wrong waves when you have three values for B 91/ 93

Hope this helps, do get back in touch if you have problems with the latest version.
__________________
Arun
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   March 11, 2022, 03:50
Default
  #3
Super Moderator
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 175
Rep Power: 10
kamath is on a distinguished road
Also,
if you are using the combination
B 98 3 B 99 0

Then you dont need B 96 at all. This applies only to B 98 1/2 and B 99 1/2 calls.

Although, if you keep it, it is not a problem (as the code will ignore this line), but be aware that with B 98 3/4 and B 99 0/3/4, there are zones. Removing it or writing B 96 0 0 will just remind you this situation and keep the input "clean"
__________________
Arun
Team REEF3D
www.reef3d.com
kamath is offline   Reply With Quote

Old   March 11, 2022, 03:51
Default
  #4
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 184
Rep Power: 15
valgrinda is on a distinguished road
Hi Vergara Juan,

a couple of comments:

- the vertical grid resolution is too low (only 1 cell over the water depth)
- for the water depth, the tank is too high, best to use 2x water depth
- but the reason for the crash is that you removed the W 22 -9.81 statement, which gives you g. The default is 0.0 and that results in high velocities within the wave theories which give the input for the wave tank.

See attached a working setup.
Attached Files
File Type: txt ctrl.txt (331 Bytes, 6 views)
File Type: txt control.txt (99 Bytes, 5 views)
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Reply

Tags
reef3d

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
Dirichlet wave generation (DWG) pipi REEF3D 2 December 1, 2021 19:34
Solitary Wave Generation with Relaxation Method 2 Qunbin REEF3D 11 November 12, 2021 09:30
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 05:36
interFoam - water wave generation, propagation and breaking Phicau OpenFOAM Verification & Validation 1 December 18, 2016 15:54
Wave generation, wave height reduces as it progresses haku88 STAR-CCM+ 1 August 6, 2013 19:32


All times are GMT -4. The time now is 03:43.