CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Modelling Wave breaking in STAR CCM+ (https://www.cfd-online.com/Forums/star-ccm/224283-modelling-wave-breaking-star-ccm.html)

joshcouch February 12, 2020 12:45

Modelling Wave breaking in STAR CCM+
 
Hi,

I'm trying to model wave-breaking over a slope using STAR CCM+, using Cnoidal VoF waves.
My problem is that I'm not sure what water depth to specify for the waves. I initially tried to write a field function that calculated water depth throughout the tank as a function of x-position, but it seems to only accept a constant input. Should I set the water depth to the depth at which I expect it to break (or slightly deeper to prevent it breaking straight away, but whilst maintaining a shallow-water wave profile)? Am I correct in thinking that the way the wave 'feels' the bottom is through the no-slip condition set on that bottom? Should I be able to see the wave 'shoaling' as it gets shallower?

Thanks in advance,

Josh

JB1989 February 18, 2020 04:25

You should specifiy the water depth where the wave are initialized. If you are using a velocity inlet, simply adjust the water depth value to this depth. The wave shoaling should happen automatically provided your spatial and temporal resolution is fine enouigh to capture these effects.

joshcouch February 18, 2020 10:34

Thanks JB, does the mesh need to be fine only in the area where I expect the water surface to be? Or should I make sure it's fine along the bottom too so as to capture bottom effects? Or should it be equally fine all over? Your help is much appreciated.

JB1989 February 18, 2020 10:45

Mesh refinements for wave is most important in region of the free surface (vertical and horizontal dimension). There are some recommendations like 80-100 cells per wavelength and 20 cells per wave height. If you want to model breaking waves you need a very fine mesh where the breaking accours. You can first do a check with a quasi 2D mesh (a 3d mesh with only one cell in thickness dimension) and see if everything works fine.

joshcouch February 19, 2020 03:58

Ok, thanks!


All times are GMT -4. The time now is 12:41.