The tracer equation is obtained using the same calculation as for the continuity equation and then regrouping the time derivative terms in the left hand side :
The expression for the advection term is a straight consequence of (A.4), the expression of the 3D divergence in the coordinates established above.
Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17