Theoretical studies of the geodynamics of accretion boundaries in plate tectonics