I'm trying to calculate the divergence of a vector quantity $L(L_x, L_y, L_z)$ in COMSOL. I calculate it using the built-in differentiation operator as follow:
$$\nabla L = d(L_x,x)+d(L_y,y)+d(L_z,z)$$
I'm wondering what is the notation or the function for divergence. Does COMSOL calculate the divergence of $L$ correctly in the way that I did in above?