A computational method for oleo-acoustics, application to hydraulic shock absorbers