Numerical modeling of borehole acoustic measurements