Although a coronal hole is permeated by a magnetic field with a dominant polarity, magnetograms reveal a more complex magnetic structure in the lowest layers, where several regions of opposite polarity of typical size of the order of 104 km are present. This can give rise to magnetic separatrices and neutral lines. MHD fluctuations generated at the base of the coronal hole by motions of the inner layer of the solar atmosphere may interact with such inhomogeneities, leading to the formation of small scales. This phenomenon is studied on a 2D model of a magnetic structure with an X-point, using 2D MHD numerical simulations. This model implements a method of characteristics for boundary conditions in the direction outer-pointing to Sun surface to simulate both wave injection and exit without reflection. Both Alfvenic and magnetosonic perturbations are considered, and they show very different phenomenology. In the former case, an anisotropic power-law spectrum forms with a dominance of perpendicular wavevectors at altitudes ~104 km. Density fluctuations are generated near the X-point by Alfven wave magnetic pressure and propagate along open fieldlines at a speed comparable to the local Alfven velocity. An analysis of energy dissipation and heating caused by the formation of small scales for the Alfvenic case is presented. In the magnetosonic case, small scales form only around the X-point, where a phenomenon of oscillating magnetic reconnection is observed to be induced by the periodic deformation of the magnetic structure due to incoming waves.