UDF example

I believe that UDF manual is very badly written. I have succeded writting a UDF that is finally working and i want to share it with you, so people can have more examples , trying to write one...

A disk rotating and the angular velocity increments with time, till time reaches the 1.5 s. After 1.5 sec the rotation of the disk is 600rpm . In FLUENT I can only give UDF x,y velocity components and not rotational velocity. In my case the center of the axes is at the center of the disk.