quenching gradually in Forcite

Dear Community,

Could you please help me with a script to quenching gradually in Forcite.

For example, I want to quench at a rate of 50K/100 ps. 

So, If I want to quench from 1500 K to 300 K, I would like to go as 1500-> 1450 -> 1400 ->.....300 K like this.

In the inbuilt quenching task, it directly quenches down to 300 K from 1500 K. It is not gradual.

Requesting help from any scripting experts.

 

Thank you very much..