Numerical simulation of the motion of an ice keel in a stratified flow