In regenerator type heat exchanger, heat transfer takes place by