Pseudostatic and dynamic analyses of tunnels in transversal and longitudinal directions