

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


1 / 4 1 / 3 ( 1 / )^2 /^32.^75
Ra D
opt opt opt
function Sopt = Sopt(D, H, Ra) % SOPT: Computes the optimal spacing between horizontal pin fins % % Syntax: Sopt = Sopt(D, H, Ra) % % Input: D = Diameter (m) % H = Overall vertical dimension (m) % Ra = Rayleigh # % % Output: Sopt = Optimal fin spacing (m) f = @(S) S/D (2 + S/D)/(1 + S/D)^(2/3) - 2.75(H/D)^(1/3)*Ra^(-1/4); SoptGuess = D; Sopt = fzero(f, SoptGuess);
function SoptStudy % SoptStudy: Study of optimal spacing for horizontal pin fins %% --- input parameters D = 1; H = 5:5:20; Ra = linspace(300,10000); %% --- compute and store Sopt values SoptData = zeros(length(H) , length(Ra)); for i = 1:length(H) for j = 1:length(Ra) SoptData(i,j) = Sopt(D, H(i),Ra(j)); end end %% --- plot Sopt results close all plot(Ra, SoptData,'linewidth',1.5) xlabel('Rayleigh #, Ra') ylabel('Sopt / D') ylim([0,1]) legend('H/D = 5','H/D = 10','H/D = 15','H/D = 20')