Effect of Hydrostatic Pressure and Gravity on Boundary Condition Considerations

How will hydrostatic pressure and gravity affect consideration of the boundary conditions?

In certain simulations, it becomes essential to include hydrostatic pressure and/or gravity. The way in which these terms affect the boundary condition considerations are given in the attached document below: