Figure 1:
Generic nonlinear waveguide (finite element mesh just on the cross section) with second harmonic generation highlighted.