Constant temperature using the fix heat command

Is it possible to maintain a constant temperature using the fix heat command?

Temperature keep increasing using fix heat command, I want to attain the temperature to a specific value and keep it constant until the simulation ends.

If I’m running the simulation for smaller steps, the temperature does not reach the required max value.

I assume you are using a fix nve integrator. If you want to change and then keep the temperature to a certain value, why don’t you use directly fix nvt or fix npt?

1 Like

This is contradictory. You cannot maintain a constant temperature for a system in equilibrium while at the same time adding kinetic energy.