Hello,
Defining both an inlet and an outlet on the same patch is not possible. To resolve this, one option is to split the top surface into two patches. For instance, you can create a smaller circle in the center with the liquid inlet, surrounded by a gas outlet. However, to implement this, you should know the location of the liquid inlet on the top surface. Similarly, you can apply the same approach to the lower surface by creating two patches for the gas inlet and liquid outlet.