with $\mathbf{U}^N = (u^N, v^N, w^N)^T$. Simple computations give
0=∫R1z∈Lα(t,x,y)∇⋅UNdz=∂t∂hα+∂x∂∫zα−1/2zα+1/2udz+∂y∂∫zα−1/2zα+1/2vdz−Gα+1/2+Gα−1/2,
leading to
∂t∂hα+∇x,y(hαuα)=Gα+1/2−Gα−1/2,(28)
with $G_{\alpha \pm 1/2}$ defined by
Gα+1/2=∂t∂zα+1/2+uα+1/2⋅∇x,yzα+1/2−wα+1/2.
The sum for $\alpha = 1, \dots, N$ of the above relations gives Eq. (18) where the kinematic boundary conditions (4), (5) corresponding to
G1/2=GN+1/2=0,(29)
have been used. Similarly, the sum for $j = 1, \dots, \alpha$ of the relations (28) with (29) gives the expression (20) for $G_{\alpha+1/2}$.
Now we consider the Galerkin approximation of Eq. (13) i.e. the quantity
∫R1z∈Lα(t,x,y)(∂t∂uN+∇x,y(uN⊗uN)+∂z∂uNwN+g∇x,yη)dz=0,
leading, after simple computations, to Eq. (19). $\blacksquare$
Proof of prop. 3.2 In order to obtain (22) we multiply (28) by $g(h+z_b)$ ($|\mathbf{u}_\alpha|^2/2$ and (19) by $\mathbf{u}_\alpha$ then we perform simple manipulations. More precisely, the momentum equation along the x axis multiplied by $u_\alpha$ gives
(∂t∂(hαuα)+∂x∂(hαuα2+2ghhα)+∂y∂(hαuαvα))uα=(−ghα∂x∂zb+uα+1/2Gα+1/2−uα−1/2Gα−1/2)uα.
Considering first the left hand side of the preceding equation excluding the pressure terms, we denote
Iu,α=(∂t∂(hαuα)+∂x∂(hαuα2)+∂y∂(hαuαvα))uα,
and using (28) we have
Iu,α=∂t∂(2hαuα2)+∂x∂(uα2hαuα2)+∂y∂(vα2hαuα2)+2uα2(∂t∂hα+∇x,y(hαuα)).
Now we consider the contribution of the pressure terms over the energy balance i.e.
Ip,u,α=(∂x∂(2ghhα)+ghα∂x∂zb)uα,
and it comes
Ip,u,α=ghα∂x∂(h+zb)uα=g∂x∂(hα(h+zb)uα)−g(h+zb)∂x∂(hαuα)=∂x∂((2ghαh+2ghα(h+2zb))uα)−g(h+zb)∂x∂(hαuα).
Performing the same manipulations over the momentum equation along $y$ and adding the terms $I_{u,\alpha}, I_{v,\alpha}, I_{p,u,\alpha}, I_{p,v,\alpha}$ and (28) multiplied by $g(h+z_b)-|\mathbf{u}_\alpha|^2/2$ gives the result. $\blacksquare$