Page 516 - Design and Operation of Heat Exchangers and their Networks
P. 516

Appendix  499


                                   s = th(i, j) - t1(1, i, j);
                                   if (abs(s) > abs(smax))
                                        smax = s;
                                   end
                                   t1(1, i, j) = t1(1, i, j) + e ∗ s;
                                   s = tc(i, j) - t2(1, i, j);
                                   if (abs(s) > abs(smax))
                                        smax = s;
                                   end
                                   t2(1, i, j) = t2(1, i, j) + e ∗ s;
                             end
                        end
                        for j=1:1: ny1
                             t1(2, 1, j) = t1(1, nx1, j);
                        end

                        ntuh = NTUh(2);
                        ntuc = NTUc(2);
                        th(:, :) = t1(2, :, :);
                        tc(:, :) = t2(2, :, :);
                        tc(:, 1) = t2(2, :, 1);
                        [th, tc, thm, tcm] = crossflow_unmixed_unmixed ...
                             (ntuh, ntuc, nx, ny, th, tc);
                        for i=1:1: nx1
                             for j=1:1:ny1
                                   s = th(i, j) - t1(2, i, j);
                                   if (abs(s) > abs(smax))
                                        smax = s;
                                   end
                                   t1(2, i, j) = t1(2, i, j) + e ∗ s;
                                   s = tc(i, j) - t2(2, i, j);
                                   if (abs(s) > abs(smax))
                                        smax = s;
                                   end
                                   t2(2, i, j) = t2(2, i, j) + e ∗ s;
                             end
                        end
   511   512   513   514   515   516   517   518   519   520   521