# wavetype combinedWaves;

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

 August 24, 2016, 02:02 wavetype combinedWaves; #1 New Member   Chia Join Date: Jan 2016 Location: Singapore Posts: 27 Rep Power: 3 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

 August 24, 2016, 03:08 #2 New Member   Chia Join Date: Jan 2016 Location: Singapore Posts: 27 Rep Power: 3 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!

 August 26, 2016, 01:22 #3 New Member   Chia Join Date: Jan 2016 Location: Singapore Posts: 27 Rep Power: 3 phi is in radians, and i got the answer to my own question, thanks to those who helped

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

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

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