Strange behaviour

Dear all,

I have such a problem with my Shan-Chen code. I am simulating droplet impringment on the wall. I imposed the bounceback nodes on the top and bottom walls without any boundary conditions. I am calculating the force everywhere except the bounceback nodes. Before streamcollide function, I calculated force and applied the velocity shift. Then as I told, I do lattice.collidestream() function.

The results are OK except small thing - my droplet begin to move to the side. I didn’t impose any velocity and my problem is symmetric in x direction. So it shouldn’t be like that.

Probably I don’t know something about streamCollide function or I need to calculate force after it?

Please give any suggestions,