A numerical study of stratified tidal rectification