Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Breaking water waves in Fluent

TAGGED: ,

    • s.m.mousavi
      Subscriber

      Dear Ansys Fluent Community,

      I have been reading the Ansys Fluent Theory Manual regarding open-channel wave simulations. From what I understand, Ansys Fluent applies linear wave theories only (like shallow, intermediate, or shallow gravity). I would like to ask whether it is possible to simulate water wave conditions where wave breaking occurs, either offshore or nearshore.

      Thank you in advance for your help!

    • Rob
      Forum Moderator

      Yes, but if that exceeds the parameters of the wave models you may need to write your own boundary condition UDF. Also note when a wave breaks you also need to resolve spray etc so that's potentially a very expensive calculation with VOF. 

    • s.m.mousavi
      Subscriber

      Thank you, Rob, for your reply. Could you please share a tutorial example (link) on open-channel wave propagation simulation in ANSYS Fluent? I would like to follow the tutorial to learn how to simulate regular waves in Fluent and then adapt it for my research purposes.

      Thanks again!

    • Rob
      Forum Moderator

      The only tutorials I can share are in Fluent's Help or in Learning on here. 

    • s.m.mousavi
      Subscriber

      I am trying to simulate the linear regular wave propagation (H=0.05 m and Wave length = 1.62 m) in a 2D open channel flow (0.5*10 m dimensions) with a fine mesh of 5mm*1cm in all the domain. I checked on the VOF; then the BCs are set as velocity inlet Open channel, Pressure outlet open channel, bottom as a wall, and free surface as pressure outlet. I can see the wave propagation only close to the inlet zone and the wave train is damped after something like one or a maximum of two wavelengths. Afterward, the free surface remains almost still (not completely). Why is it like this? Why can the generated waves not propagate through the domain to the outlet side?

      What other settings or details should I provide here?

       

      Many thanks!

    • Rob
      Forum Moderator

      You may need a finer mesh given the wave height and length. 

    • s.m.mousavi
      Subscriber

      I refined the mesh several times, however, the wave is not propagating through the domain. it gets damped very quickly within one or two wave length. Any other suggestions to resolve this issue?

      Thanks!

    • Rob
      Forum Moderator

      How well converged is each time step? How do the results/movies look?

    • s.m.mousavi
      Subscriber

      The solution converges fast at each time step, say within 50 iterations per time step. The picture below shows the wave propagation within the domain. As you can see, it diffuses very quickly.

    • Rob
      Forum Moderator

      That suggests the time step is too large, aim for 15-ish iterations per step. 

    • s.m.mousavi
      Subscriber

      Ok, I understand. I am decreasing my time steps. In the meantime, can you please guide me on how I can plot the water surface elevation over time in a specific location?

    • Rob
      Forum Moderator

      Have a search for "depth" on here - you'll find it's been asked a few times. 

    • s.m.mousavi
      Subscriber

      Before I ask my question here, I have already searched around. However, I couldn't get my answer. If you don't mind, could you please direct me to a solution or a post that has been marked as resolved? I again searched for "depth" however I couldn't solve my problem.
      Thank you!

    • Rob
      Forum Moderator

      Fair - looks like we need to reveiw the search function again. 

      Very simply, in 2d create an isosurface of VOF at around 0.5   That'll give you a line. Plot the vertical position on the line.

      In 3d create the isosurface to visualise the water free surface.  Then create an isosurface of mesh that cuts the free surface whilst the free surface is selected. That will result in a "surface" that's actually a line of where the water level is on that vertical surface. 

      If you need the value at a position, create a vertical line and then a clip surface of that line based on VOF of (for example) 0.5   Plot the maximum (or minimum) of position on the clip line. 

    • s.m.mousavi
      Subscriber

      Sir,

      Yes I need the surface position over time in my 2D domain at a specific location. OK, I tried to follow your steps:

      1- I created a line say X=X0 from 0 to the height of my channel.

      2- Then I clicked on Insert >> Location >> Iso Clip. Then I chose:

      3- Locations: Line 1 (that I defined previously). Visibility parameters: Water.Volume.Fraction >= 0.5.

      Then I click ok. But I received this error: "No data exists for variable Water.volume fraction specified in object iso clip.

       

      Am I doing something wrong?

    • Rob
      Forum Moderator

      Has the solution been initialised? Ie is there a free surface?

    • s.m.mousavi
      Subscriber

      Yes, the solution is initialised. I can see the contour plot of my domain as well. Please see the below pictures

       

    • Rob
      Forum Moderator

      I see you've opened another thread. Maybe try my suggestion in Fluent?

    • s.m.mousavi
      Subscriber

      Yes I opened the new one, because I thought this thread topic was different to my latest question. Anyhow, I could obtain the water surface by some sort of integrating processes. Should I close the new thread that I have opened? If yes, how?

      Thank you, Rob for all your help and assistance, GRAZIE!

    • Rob
      Forum Moderator

      Just link this thread in that one. 

Viewing 19 reply threads
  • You must be logged in to reply to this topic.