I’ve been working with Shan-Chen two-phase flow in OpenLB. I am interested in simulating droplets, and am using a convection outlet boundary to not distort the droplet.
For the inlet I would like to set both velocity and density (aka phase) of the fluid. However, that seems to be impossible. The boundary momenta created via addVelocityBoundary does not allow to set the density, while the addPressureBoundary does not allow setting velocity.
What would be a possible way to set both velocity and density at the inlet boundary?