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

REEF:SFLOW wave direction - Domain definition

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 15, 2021, 17:26
Default REEF:SFLOW wave direction - Domain definition
  #1
New Member
 
Onur
Join Date: Sep 2021
Posts: 3
Rep Power: 4
OnurKurum is on a distinguished road
Hi all,

I am trying to set-up a simple 2D wave case using SFLOW however I am having trouble setting it up correctly. Attached is the description of the simple domain I am trying to set. Beach is on the left side and Offshore on the right side.

Essentially the trouble I am having is to be able to point the waves towards the beach.

In DiveMesh, I have tried flipping C11 and C14 between "wave generation" and "numerical beach" but no matter what I do, the generated waves always propagate in the increasing X-direction. I need them to travel in the -X direction.

Is this possible or all domains need to have the beach on the right side (max X) and wave generation on the left side (min X)?

Based on the attached figure, I have generated the mesh with:
control.txt:
Code:
B 1 5  
B 10 434148 434698 4702302 4704174 -8 6 (or in simpler terms: 0 550 0 1872 -10 6)
B 130 1
C 11 7
C 12 3 (assuming this will work with periodic boundaries I set at C22 1)
C 13 3 (assuming this will work with periodic boundaries I set at C22 1)
C 14 6
C 15 21   
C 16 3
C 22 1 (will need to have periodic boundaries applied to lateral boundaries so I used C22 1)
G 10 1   
G 15 2     
M 10 8
M 20 1
ctrl.txt is also attached - I have tried giving some angle to the waves with B 97 and B131 and they both generated perpendicular waves (still going in the +X direction). Then I removed
Quote:
B97/B131
and used
Quote:
B 105 61 434648 4704174
which gave me wave angles but still propagating in +X direction.


Thanks for all suggestions - I can provide additional information to help resolve the problem.
Cheers
Onur
Attached Images
File Type: png simple_domain.png (48.4 KB, 13 views)
Attached Files
File Type: txt ctrl.txt (388 Bytes, 4 views)

Last edited by OnurKurum; September 15, 2021 at 20:43.
OnurKurum is offline   Reply With Quote

 

Tags
divemesh, sflow, wave direction


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
[OLAFLOW] The OLAFLOW Thread Phicau OpenFOAM Community Contributions 457 March 27, 2024 00:59
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
UDF to apply a Spanwise velocity wave on a whole 3D rectangular channel domain QBeast Fluent UDF and Scheme Programming 8 October 15, 2013 05:10
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21


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