It appears that it simply surrounds a creature (if it can) and stays in place for the duration of the spell.
It seems to me there are rules for the sort of damage you are thinking of somewhere, but in lieu of those how about 1d6 per 10' of movement, providing the creature cannot hover (not "good" or "perfect" maneuverability).