Computational simulation of active control of cavity acoustics