Let denote the lateral boundary of the model domain with the closed land boundary and the open boundary such that and . Let further denote the horizontal velocity vector and its normal vector. At closed boundaries, the flow must be parallel to the boundary:
(10) |
with being the gradient operator.
For an eastern or a western closed boundary with this has the consequence that and, equivalently, for a southern or a northern closed boundary with this has the consequence that .
At open boundaries, the velocity gradients across the boundary vanish:
(11) |
with being the operator normal to the gradient operator.
For an eastern or a western open boundary with this has the consequence that and, equivalently, for a southern or a northern open boundary this has the consequence that .
At so-called forced open boundaries, the sea surface elevation is prescribed. At passive open boundaries, it is assumed that the curvature of the surface elevation normal to the boundary is zero, with the consequence that the spatial derivatives of the surface slopes normal to the boundaries vanish.