On the coupling of hyperbolic and parabolic systems: analytical and numerical approach