To scold, reprimand or criticize harshly.
To violently toss the limbs about.
To beat soundly, usually with some tool such as a stick or whip; to drub.
To separate the grain from the straw or husks (chaff) by mechanical beating, with a flail or machinery.