CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

wavetype combinedWaves;

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2016, 02:02
Default wavetype combinedWaves;
  #1
New Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 27
Rep Power: 3
chia87 is on a distinguished road
Dear all,

I'm trying to simulate a near-breaking/breaking waves, via the superposition of 19 regular waves of differing frequencies and phases.

I didnt use any spectrum for this, instead, I used a range of frequencies (which are arbitary) , and manual calculate the phase needed to superimpose the waves at a focussed point, leading to the disastrous wave (occuring at the chosen time and chosen point)

Hence, I believed that I should be using waveType combinedWaves;

1) but how do i go about inputing multiple waves? How do I go about inputting 19 * stokesFirst wave?

2) the phi (phase shift) for these waves, are the values in radian or seconds?


Thanks in advanced for any kind inputs!

https://openfoamwiki.net/index.php/C...y_of_the_above
chia87 is offline   Reply With Quote

Old   August 24, 2016, 03:08
Default
  #2
New Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 27
Rep Power: 3
chia87 is on a distinguished road
could it be something like this to input 19 waves?

waveType combinedWaves;
depth 0.6;
period1 1.786;
period2 0.909;
period3 ....
periodx...
direction1 (1.0 0.0 0.0);
direction2 (1.0 0.0 0.0);
directionx
height1 0.03785;
height2 0.012822;
phi1 14.858;
phi2 1.8585;
phi3 ....
phix .....

correct me if im wrong thanks!
chia87 is offline   Reply With Quote

Old   August 26, 2016, 01:22
Default
  #3
New Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 27
Rep Power: 3
chia87 is on a distinguished road
phi is in radians,

and i got the answer to my own question, thanks to those who helped
chia87 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Waves2Foam Related Topics ngj OpenFOAM Running, Solving & CFD 1438 June 19, 2017 10:46


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