Modeling of wave propagation in open domains: A Krylov subspace approach