Simulation of the dynamic behaviour of a thin-walled meshing gear using Duhamel's integral