Model simulation of gravity waves triggered by a density current