A one-dimensional model of heat transfer is presented for small samples with poor thermal conductivity in thermal relaxation calorimetry. The model is based on sliced structures of the sample with infinite thermal conductivity along the planes and finite thermal conductivity perpendicular to it connecting different slices thermally. It evaluates the temperature evolution of different slices of the sample taking care of changes of thermal conductivity and heat capacity at different temperatures of the slices.