# Making Wave in free surface flow

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

 August 13, 2011, 00:46 Making Wave in free surface flow #1 Senior Member   omid Join Date: Apr 2011 Posts: 105 Rep Power: 14 Hi all I am trying to simulate a ship on free surface flow with sinusoidal wave that's made by wave maker. How can i simulate this sinusoidal wave as a boundary condition for investigate the motion of ship? Thanks Best regards.

 August 13, 2011, 07:18 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 17,480 Rep Power: 140 There are some posts on this forum about setting ocean wave boundary conditions. Do a search for them on the forum.

 August 14, 2011, 15:50 - #3 Member   Mauricio Labarca Join Date: Aug 2009 Posts: 35 Rep Power: 16 hmm well the closest i've done is a sinusoidal BC for a multiphase slug simulation... What i did is to calculate the height of the water with the sinosoidal CEL expression; then at the inlet BC i set the volume fractions of water and air to depend on an "if" cel expression; if y > (calculated height) , 1,0. that should set the air fraction to 1 if it's over your calculated height, and after yo set the water volume fraction to a similar expression you should get that sinusoidal BC. As glenn said tho I'd check all the posts in the forum anyway to see if there's something more applied to your case.

 August 18, 2011, 03:07 #4 Senior Member   omid Join Date: Apr 2011 Posts: 105 Rep Power: 14 Thanks mauricio. I'd check all the posts in the forum about this, but i didn't find any useful things. Best regards

 August 18, 2011, 06:47 #5 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 17,480 Rep Power: 140 Try: en.wikipedia.org/wiki/Airy_wave_theory and folk.ntnu.no/oivarn/hercules_ntnu/.../lwt_new_2000_Part_A.pdf