[QUESTION: Fully Developed Rectangle Channel Simulation]
4 Attachment(s)
Dear all:
Thanks for click this post. Recently I had some trouble with the simulation of fully-develped rectangle channel. The goal is to show the maximum velocity appears under the surface due to the effects of secondary flow. The surface velocity as init condition is distributed in a parabolic way as in fig [surfaceVelocityDistribution.jpg]. I try to solve this problem with simpleFoam but got something strange. The velocity profile vanish quickly in the first 0.2 m depth, as in fig [profile.jpg] -------------------------------------------------------------------------- Here is my U file, the rest of my code could be check in [rectangleSimulation.zip] Code:
/*--------------------------------*- C++ -*----------------------------------*\ I would appreciate it if someone can help me with this problem. REFERENCE [1]Shi, J., T. G. Thomas, and J. J. R. Williams. "Large-eddy simulation of flow in a rectangular open channel." Journal of Hydraulic Research 37, no. 3 (1999): 345-361. [2]Kang, Hyeongsik, and Sung‐Uk Choi. "Reynolds stress modelling of rectangular open‐channel flow." International journal for numerical methods in fluids 51, no. 11 (2006): 1319-1334. |
did you try the apply cyclic boundary condition together with meanVelocityForce fvOption?
This gives you a volumetric source term to obtain a specified mean velocity. In this way you can fix the Reynoldsnumber based on the bulk velocity. A tutorial can be found in incompressible/pimpleFoam/LES/channel395 What's the purpose to apply a parabolic profile at the top surface? The velocity at the upper wall should result from the solution Best Michael |
Quote:
Thanks for your kindly reply. It is precisely where the problem happens. I had found some threads similar to your answer. I did not set the bulk velocity in the fvOption file. The reason for setting the parabolic profile at the top surface is that I want to figure out what the velocity profile will be under the given surface velocity distribution(obtained by PIV, in the ideal case, it's parabolic), so I fix the upper boundary condition and run the k-omega model. Best regards, Anthony Reference Threads: - https://www.cfd-online.com/Forums/op...condition.html - https://www.cfd-online.com/Forums/op...c-problem.html |
All times are GMT -4. The time now is 05:06. |