Shan-Chen Model, Inlet and Outlet

Respected Researchers.

I am simulating multi-component Poiseuille flow. I am using velocity inlet and symmetry outlet (copy of distributions from previous layer). I am getting failure to calculate the Shan-Chen Forces at inlet and outlet. I am using Half-way Bounce-Back at top and bottom walls. There is no problem at walls.

Could anyone please guide me how to calculate shan chen forces at inlet and outlet.

Problem is resolved by creating ghost nodes outside the domain at inlet and outlet.