Reply To: ShanChen multicomponents + outflow boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › ShanChen multicomponents + outflow boundary › Reply To: ShanChen multicomponents + outflow boundary
Hi Marie!
The boundary conditions that you used for the outflow should work. When setting boundary conditions while using a multi-component/multi-phase force like Shan-Chen, make sure that your boundary nodes have an appropriate component/fluid density or pseudopotential.
For example, the default value for a component density on a boundary node is zero which can cause problems in some pseudopotential functions (these you can look up in /src/dynamics/interactionPotential.h).
This is also the reason, why there are boundary conditions defined specifically for the freeEnergy model.
Hope, this helps a bit and just ask again in case you got another question.
Kind regards
Tim