CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLOW-3D (https://www.cfd-online.com/Forums/flow-3d/)
-   -   problem in simulating waves in a channel (https://www.cfd-online.com/Forums/flow-3d/107110-problem-simulating-waves-channel.html)

pyxbird September 18, 2012 03:28

problem in simulating waves in a channel
 
Hi
All dears,
I am a newbie learning FLOW3D,and I wish to simulate waves in a water tank.
Unfortunately,I found the volume of fluid is not conservative. If I choose "outflow" as the boundary condition,the volume of fluid will reduce in a steady rate. Else if I change the boundary condition into "wall", then the volume of water will increase slowly.
So I really wish to know why does it happen and how to solve this problem, can any experienced user can help me out?:confused: And please forgive me for my poor English.
pyxbird

JBurnham September 18, 2012 12:12

This is a known issue, and is because of the way the outflow boundary handles truly orbital motion (as opposed to gravity waves, which it handles quite well). The solution: use 'allow fluid to re-enter at outflow boundary' check box, and use multiple 'linked' mesh blocks, each coarser (cell size larger) by a factor of 3 or more so that the initial wave does not hit the outflow boundary downstream until the necessary data has been gathered. The total length of the domain should thus be # x L, where # is the number of waves that need to be modeled and L is the wavelength. Using multiple progressively coarser blocks will do two things: it will reduce the number of cells necessary to meet the criteria that the first wave not hit the outflow boundary until the simulation is complete, and it will diffuse the wave after it passes through the period of interest and thus damp reflections that would interfere with the solution in the region of interest.

pyxbird September 18, 2012 22:35

Thank you, I will try it soon.


All times are GMT -4. The time now is 18:44.