Conductive and convective transport in solids and fluids