Simulation of the classical coffee cooling problem