On a class of special flows