I am trying to measure instantaneous temperature profile along the z axis of an elongated box (x=y=45 and z=180 A) of 4000 water molecules divided into 100 equal slabs.

Assuming each slab to be a separate NVT box, temperature of each slab should be almost equal (linear profile with zero slope) at certain time step. However, I see quite large fluctuations in temperature from slab to slab along the z axis.

Increasing number of water molecules and temperature reassignment frequency of the thermostat did not solve the problem.

Should changing the thermostating algorithm (in this case , velocities were take from Maxwell-Boltzmann distribution) or strength of coupling effect the profile?

How can I reduce fluctuations?

Similar questions and discussions