CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Problem with wave

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2021, 12:29
Default Problem with wave
  #1
New Member
 
Luca
Join Date: Dec 2019
Posts: 6
Rep Power: 6
socra is on a distinguished road
Hi all,

I'm trying to simulate a Wave with the following properties:

Heigth= 6m
Wavelength: 46m
Period: 5s

The Boundary condition are Velocity inlet at bottom, inlet, lateral and Top. Pressure out at the outlet.

All the boundaries are set with the information of the Fifth order wave.
The mesh is setting Isotropic with a dimension of 0.3m so that I have 20 cells for the height and 150 cells for the wavelength. The timestep is set in order to have CFL<0.5.

The problem is that when I plot the Isosurface of the wave, I have the "non-continuity" of the wave on the boundary. It seems like the wave doesn't slip on the boundary. I attach the screen of the simulation to show the problem.

Anyone can help me?

Thanks!
Attached Images
File Type: jpg Cattura.jpg (18.4 KB, 17 views)
File Type: jpg Cattura2.jpg (26.3 KB, 14 views)
socra is offline   Reply With Quote

Old   November 30, 2021, 16:03
Default
  #2
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
Hi all,

I'm trying to simulate a Wave with the following properties:

Heigth= 6m
Wavelength: 46m
Period: 5s

The Boundary condition are Velocity inlet at bottom, inlet, lateral and Top. Pressure out at the outlet.

All the boundaries are set with the information of the Fifth order wave.
The mesh is setting Isotropic with a dimension of 0.3m so that I have 20 cells for the height and 150 cells for the wavelength. The timestep is set in order to have CFL<0.5.

The problem is that when I plot the Isosurface of the wave, I have the "non-continuity" of the wave on the boundary. It seems like the wave doesn't slip on the boundary. I attach the screen of the simulation to show the problem.

Anyone can help me?

Thanks!
It should be so. Use side walls. The ratio of wavelength to height is at least 17 times. Second order of sampling in time.

https://youtu.be/e8SWa9MwRJc
Peresvet is offline   Reply With Quote

Old   December 1, 2021, 03:39
Default
  #3
New Member
 
Luca
Join Date: Dec 2019
Posts: 6
Rep Power: 6
socra is on a distinguished road
Quote:
Originally Posted by Peresvet View Post
It should be so. Use side walls. The ratio of wavelength to height is at least 17 times. Second order of sampling in time.

https://youtu.be/e8SWa9MwRJc
Ok so I need to set wall no-slip to the sides and set 2nd order to discretize the time, right?
socra is offline   Reply With Quote

Old   December 1, 2021, 03:52
Default
  #4
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
Ok so I need to set wall no-slip to the sides and set 2nd order to discretize the time, right?
Yes. You can also do this: left - right - bottom - top = wall.

You can use free surface adaptation by setting free surface volumetric control = 100% and adaptation = 3 or 4 maximum grind level.
Peresvet is offline   Reply With Quote

Old   December 1, 2021, 03:56
Default
  #5
New Member
 
Luca
Join Date: Dec 2019
Posts: 6
Rep Power: 6
socra is on a distinguished road
Quote:
Originally Posted by Peresvet View Post
Yes. You can also do this: left - right - bottom - top = wall.
Ok, I try with this boundary. Can you explain what do you mean with "The ratio of wavelength to height is at least 17 times." And if you have some papers about it? Thanks a lot!
socra is offline   Reply With Quote

Old   December 1, 2021, 04:19
Default
  #6
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
Ok, I try with this boundary. Can you explain what do you mean with "The ratio of wavelength to height is at least 17 times." And if you have some papers about it? Thanks a lot!
When I used non-automatic grids, there were problems with the amplitude of the wave from time to time. Then I deduced this dependence> 17 times. Length / Height => 17.
It might come in handy.
Peresvet is offline   Reply With Quote

Old   December 1, 2021, 04:41
Default
  #7
New Member
 
Luca
Join Date: Dec 2019
Posts: 6
Rep Power: 6
socra is on a distinguished road
Quote:
Originally Posted by Peresvet View Post
When I used non-automatic grids, there were problems with the amplitude of the wave from time to time. Then I deduced this dependence> 17 times. Length / Height => 17.
It might come in handy.
So I have a ratio of L/H = 7.67. This could bring problems because the wave is very steep? and because the ratio is < 17 I need an adaptive mesh on the free surface, is that right?

About the adaptive mesh on the free surface, does it double the mesh size level by level? So I have to set the mesh under the last level in order to have the size of the mesh of 0.3m to the free surface?! Or Starccm+ calculate the best size based on my wave? I'm asking because I never used it!

Thanks
socra is offline   Reply With Quote

Old   December 1, 2021, 05:52
Default
  #8
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
So I have a ratio of L/H = 7.67. This could bring problems because the wave is very steep? and because the ratio is < 17 I need an adaptive mesh on the free surface, is that right?

About the adaptive mesh on the free surface, does it double the mesh size level by level? So I have to set the mesh under the last level in order to have the size of the mesh of 0.3m to the free surface?! Or Starccm+ calculate the best size based on my wave? I'm asking because I never used it!

Thanks
Try no adaptation, but there will be more cells.
With the ratio = <17,
the waves will decay along the length of the domain after a short time. Try building on automatic grids.

https://youtu.be/MtjdC5NL2u0
Peresvet is offline   Reply With Quote

Old   December 1, 2021, 09:23
Default
  #9
New Member
 
Luca
Join Date: Dec 2019
Posts: 6
Rep Power: 6
socra is on a distinguished road
Quote:
Originally Posted by Peresvet View Post
You can use free surface adaptation by setting free surface volumetric control = 100% and adaptation = 3 or 4 maximum grind level.
I set the adaptation. I can set only Volumetric or surface control, what do you mean with "setting free surface volumetric control = 100%"?
socra is offline   Reply With Quote

Old   December 1, 2021, 09:41
Default
  #10
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
I set the adaptation. I can set only Volumetric or surface control, what do you mean with "setting free surface volumetric control = 100%"?
In the mesh generator, free surface volumetric control = 100% of the base value. You will divide by level in the adaptation of grids = physics - model. Volumetric control as a guideline for free surface adaptation in a physics model.

https://youtu.be/2doeE93APO0 --- free surface adaptation

https://youtu.be/H3RXxEL1sG0 --- multi-step mode.
Peresvet is offline   Reply With Quote

Old   December 2, 2021, 01:21
Talking
  #11
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 49
Rep Power: 5
Peresvet is on a distinguished road
Quote:
Originally Posted by socra View Post
I set the adaptation. I can set only Volumetric or surface control, what do you mean with "setting free surface volumetric control = 100%"?
I do not recommend getting carried away with the adaptation of the free surface in cases of using an overset mesh of moving bodies of complex shapes: ships, airplanes, etc. There is still no perfection, not even close. You can muddy the water with balls, cubes, pipes and nothing more. The resistance characteristics will have a terrible picture, especially the wave resistance characteristics. Forget it. Stir up the water in an empty pool. This is not a temporary recommendation. The overset mesh itself is the source of all design engineer problems.
It is a mistake in cfd to use a movable grid. The resistance in the boundary layer is calculated with high precision by other methods. Error in cfd less than 0.5%? !!! ?? !!! Moreover, all calculations are based on the usual fitting to a practical result. Units on planet Earth are able to count accurately enough without preliminary calculations. For example me. Sorry for being modest.
Peresvet is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with modeling tidal wave saeed.13 FLOW-3D 3 August 25, 2016 02:24
Help! Compiled UDF problem 4 Wave tank tutorial Shane FLUENT 1 September 3, 2010 02:32
Problem with a leapfrog scheme for wave equation Shiranui Main CFD Forum 0 June 22, 2010 09:19
how i can approch the problem about shock wave chandrakanth Main CFD Forum 0 December 6, 2008 02:27
problem in solving "wave generation" problem san FLUENT 2 April 3, 2006 23:37


All times are GMT -4. The time now is 11:47.