Syntax:
fix ID group-ID temp/rescale Tstart Tstop N window fraction
Examples:
fix 3 flow temp/rescale 1.0 1.1 100 0.02 0.5
Description:
Reset the temperature of a group of atoms by explicitly rescaling their velocities. The target temperature is a ramped value between the Tstart and Tstop temperatures at the beginning and end of the run.
Rescaling is only performed every N timesteps, and only if the difference between the current and desired temperatures is greater than the window value. The amount of rescaling that is applied is a fraction (from 0.0 to 1.0) of the difference between the actual and desired temeperature. E.g. if fraction = 1.0, the temperature is reset to exactly the desired value.
The way that temperature is computed by this fix can be changed by using the fix_modify command.
A temp/rescale fix does not update the coordinates of its atoms. It is normally used with a fix of style nve that does that. A temp/rescale fix should not normally be used on atoms that also have their temperature controlled by another fix - e.g. a nvt or langevin fix.
Restrictions: none
Related commands:
fix langevin, fix nvt, fix_modify
Default: none