In Cartesian coordinates, divergence is the sum of the partial derivatives of each component of the vector field with respect to the corresponding spatial coordinate:
div V = ∇·V = ∂V_{x}/∂x + ∂V_{y}/∂y + ∂V_{z}/∂z