The shape of an elastic filament in a two-dimensional corner flow