-
Dear all, In this context we have commented the "constant flow rate" section in BC-Channel-flow.f90 like that: !if (.not. cpg ) then ! if not constant pressure gradient but after the flow becomes statistically steady, the mean velocity profile close to the two walls is unexpectedly larger than the wall velocity |ux| > 0.5 and behaves irregular, with one overshoot at the first computational point in the fluid. The solution is symmetric though. See the mean velocity profile attached. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, I am afraid I am not able to reproduce your problem. I just ran a quick simulation on a coarse mesh, and the picture below is the velocity field ux once the flow is fully established (statistics are also fine). You can see from the picture that ux is staying between -0.5 and 0.5. I have no issues at the top/bottom boundaries. I did the same as you, I just commented the forcing term from the channel flow, imposed 0.5 at the top and -0.5 at the bottom. I will further investigate, just in case. Best, Sylvain |
Beta Was this translation helpful? Give feedback.
-
Can you try with an explicit time advancement scheme?
You may have not updated the BC properly with the implicit time advancement strategy. Cheers, Sylvain |
Beta Was this translation helpful? Give feedback.
Hi,
I am afraid I am not able to reproduce your problem. I just ran a quick simulation on a coarse mesh, and the picture below is the velocity field ux once the flow is fully established (statistics are also fine). You can see from the picture that ux is staying between -0.5 and 0.5. I have no issues at the top/bottom boundaries. I did the same as you, I just commented the forcing term from the channel flow, imposed 0.5 at the top and -0.5 at the bottom. I will further investigate, just in case.
Best,
Sylvain