The geometry used for this tutorial has six boundaries, four of which will have no-slip wall conditions assigned to them. The remaining two boundaries will be assigned pressure boundary conditions.
We will start with the wall boundary definitions.
Fluid and click OK.<Ctrl><Click> method to select the Middle, Left, Right and Bottom nodes. These are the four wall boundaries.

<Ctrl><Click> again, select the TopLeft and TopRight nodes. These are the two pressure boundaries. In the Properties window, select Pressure Outlet as the boundary Type.The default conditions are suitable for the wall boundaries but those for the pressure boundaries must be reset.

0.
0.
1.00.0 and click OK.This in effect enforces the condition that only water may enter the solution domain through that boundary.
The conditions for the TopRight boundary are identical to those for the TopLeft boundary, except that the water and air volume fractions are reversed. You could specify these boundary conditions as described above but, in this case, it is more convenient to copy the boundary conditions from the TopLeft to the TopRight boundary and then amend them.
The boundary conditions have now been copied.
This, in effect, enforces the condition that only air may enter the solution domain through that boundary.
This completes the boundary conditions specification.