Hi,
I want to perform approach-to-equilibrium molecular dynamics (AEMD), where I heat one half of the cell to 250 K and the other half to 350 K. Then, I let the cell equilibrate in an NVE ensemble, meaning that heat will flow from the hot to the cold half, resulting in a cell that has 300 K everywhere. I am interested in the decay of the temperature difference between the hot and cold half, from which I want to calculate the thermal conductivity. I successfully equilibrated the regions to 250 K and 350 K with two separate i-Pi runs and I combined the RESTART files with a Python script.
The problem is about the ensemble temperature in the NVE equilibration run. From equation 3 of
https://www.sciencedirect.com/science/article/pii/S001046551300372X, it is clear that the second term of the ring-polymer Hamiltonian depends on the temperature. I assume, that this is the temperature that I set in the input file? For example like:
<ensemble>
<temperature units='kelvin'> 300 </temperature>
</ensemble>
How can I set this temperature correctly? Setting the temperature to 300 K is not correct in my opinion, because this changes the energy associated with the second term of equation 3 (of
https://www.sciencedirect.com/science/article/pii/S001046551300372X) abruptly. For example, in the hot region, the temperature in that term would abruptly decrease from 350 K to 300 K. This is associated with a lower energy, which results in a lower kinetic energy and leads to a "jump" in temperature (see attached plot). Likewise for the cold half. This "jump" gets stronger the more beads I use.
I don't know how I should set the ensemble temperature correctly. An ideo would be that I would need to set it to the instantaneous temperature of the hot and cold half, respectively (or a time average thereof).
Best Regards,
Lukas