Introductory physics textbooks usually describe standing waves on a string as superpositions of left and right traveling harmonic waves:
$$\psi = \psi_1 + \psi_2 = A\sin(\frac{2\pi x}{\lambda}-\omega t)+A\sin(\frac{2\pi x}{\lambda}+\omega t).$$
I figure that this can be generalized to arbitrary periodic waves. At least I see no reason why they should be harmonic, but I have never seen any textbook where such a thing is described. (Perhaps cause I have never found a nice, moderately advanced textbook that deals with waves in an in depth way).
It is much more difficult for me to figure out how to generalize this to two or three space dimensions. I suspect the general definition should probably be related to the Helmholtz equation $\nabla^2 \phi + k^2 \phi = 0$, but I'm not exactly sure how. Are standing waves defined as solutions of the wave equation that fulfill some special properties? Are they always periodic functions of the form $F = f(\mathbf{r})g(t)$? Is periodicity necessary? (I have a hard time imagining why, for instance, two compactly supported waves travelling in opposite directions on a string should be considered a single standing wave, that is why I am inclined to ask for periodicity, but maybe this is not the case).
The bottom line is, I have never understood what are the properties a solution to the wave equation should satisfy in order to be considered a standing wave, in a general way, preferably in 2 or 3 dimensions.
Note: I can see my question is related to this closed question, Mathematical defintion of a standing wave?, I hope I managed to make my question clear enough.