Thermal energy conversion in nanofluids