if something is frictionless does it have thermal energy