Quantum thermodynamics in adiabatic open systems and its trapped-ion experimental realization