Atomistic simulation of temperature dependent heat capacity of nanogap confined liquid