espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] No conservation of momentum/mass in LBM ??


From: Ivan Cimrak
Subject: Re: [ESPResSo-users] No conservation of momentum/mass in LBM ??
Date: Tue, 15 Mar 2016 13:22:29 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Markus,

Hello Everybody,

 

so far, in the LBM scheme only the body force is implemented and no velocity/pressure boundary condition. So I was thinking on a way of mimicking a “velocity boundary” condition without changing the source code. I am aware that one should, as a proper approach, using Zou/He boundary conditions and adjusting the distribution functions according to the boundary conditions.

 

For that I have constructed a channel with rectangular cross section and put the fluid inside. Furthermore, two rhomboids where put inside, one at the inlet of the channel, one at the outlet. The cross section of the two rhomboids is equal to the cross section of the channel, furthermore they have a constant velocity v0.

My idea was, that, since the no-slip boundary condition is implemented, I force the fluid nodes adjacent to the rhomboids to have a constant velocity, thus achieving constant velocity inlet/outlet condition.

 

As a result I achieve a poiseuille profile in the middle of the channel (fully developed flow after inlet/outlet effects). The qualitative pressure gradient looks proper, too.

Nevertheless, the maximum velocity is not the same as I expected (factor 3 to the expected one).

How did you compute the expected maximum velocity? As far as I know, the poisseuille flow has an exact _expression_ for the velocity in the case of channel with circular cross section, and you have a rectangular one.

I have checked the mean velocity. I would expect, that the mean velocity of the fluid should be the velocity v0 of the rhomboid (due to mass/momentum conservation), I get less (10 %).

This is strange. The amount of fluid at the inlet (integral of velocity over the inlet surface, in this case is the velocity constant over the inlet surface) should be the same as integral over the middle cross section, as well as integral over the outlet surface.... Supposing you computed the average velocity as sum of velocities over the LB nodes at middle cross section divided by number of these nodes, you should have obtained the velocity at the inlet...

Now I read the comment of Florian - does that mean that amount of fluid is decreasing when no-slip is prescribed?

Ivan

 

What is wrong with my idea stated here? Obviously, something is not correct, but I have no idea, what the reason for that is. Where does the momentum vanish?

 

Does anybody have an idea?

 

Sincerely,

 

Markus

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]