Question
please use matlab to solve

Problem # 3 P-3 Flow between two paralle plates is described by the following equation dith boundary conditons given as u,-0
0 0
Add a comment Improve this question Transcribed image text
Answer #1
j_max = floor(t/dt+1); % Number of time nodes
i_max = floor(H/dy+1); % Number of space nodes
for j = 1:j_max
    for i = 1:i_max
        if j == 1
            if i == i_max
                U(i,j) = Iu(2);
            else
                U(i,j) = Iu(1);
            end
        else
            if i == i_max
                U(i,j) = Bu(2);
            elseif i == 1
                U(i,j) = Bu(1);
            else
                U(i,j) = (1-2*D)*U(i,j-1)+D*(U(i+1,j-1)+U(i-1,j-1)); 
            end
        end
    end
end

%% Plots
figure
hold on
grid on
for j = 1:j_max
plot(U(:,j),0:dy:dy*(i_max-1))
end
xlabel('Velocity "U" (m)')
ylabel('Hight "Y" (m)')
title('Flow Between Two Parallel Plates Problem')
Add a comment
Know the answer?
Add Answer to:
please use matlab to solve Problem # 3 P-3 Flow between two paralle plates is described by the following equation dith boundary conditons given as u,-0 & u,-o Calculate the velocity profile u...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT