Question

MATLAB Program Problem D 0.02 m d 0.01 m 0 P1 3.0 kPa Air Review the tank diagram above. Air flows steadily from a tank, thro

0 0
Add a comment Improve this question Transcribed image text
Answer #1

clear
clc

%% Note:
% In the given problem it is mentioned P1 is 3 kPa and air is flowing out.
% This means the mentioned pressure is gauge pressure. Because If it is
% absolute pressure then as outside air pressure is 101.325 kPa, flow should
% be into the system, but it is not. Hence the pressure given is gauge.
% Therefore absolute pressure in tank is P1a=P1 + 101.325 = 104.325 kPa.
% Initial in tank at 1 velocity V1 = 0 m/s and P3 =Patm = 101.325 kPa.
% Also it is not mentioned about any head loss in the hose. Considering it
% as ideal streamlined flow from tank to hose to outside through nozzle.

% Applying Bernoulli's Equation between 1 and 2.
% P1a/Rho + V1^2/2 = P2a/Rho + V2^2/2 ..........(1)

% Applying continuity beteen 2 and 3 Q=flow rate
% Q2=Q3 .......................................(2)

% Applying Bernoulli's Equation between 2 and 3.
% P2a/Rho + V2^2/2 = P3/Rho + V3^2/2 ...........(3)

% From (1) and (3) :
% P1a/Rho + V1^2/2 = P3/Rho + V3^2/2 ...........(4)


%% Initializing the Problem

P1 = 3; % in kPa
Patm = 101.325; % in kPa
T = 273.15; % in Kelvin
P1a = 3 + Patm; % in kPa
V1 = 0; % in m/s
D = 0.02; % in m
d = 0.01; % in m
a3=pi*d^2/4; % Area of nozzle at exit in m^2
A2=pi*D^2/4; % Area of hose at exit in m^2
P3=Patm;
R = 0.287; % Gas constant for air in kJ/kgK;
Rho = Patm/(R*T); % in kg/m^3 for air.

%% Solving the problem
% From eqn(4)
V3=sqrt(2*1000*(P1a-P3)/Rho);
Q3 = V3*a3 % Flow rate in m^3/sec

% From eqn(2)
V2=Q3/A2;

% From eqn(3)
P2a = (-V2^2/2 + P3*1000/Rho + V3^2/2)*Rho/1000;
P2=P2a-Patm

Please comment below for any further queries

Thank you

Add a comment
Know the answer?
Add Answer to:
MATLAB Program Problem D 0.02 m d 0.01 m 0 P1 3.0 kPa Air Review the tank diagram above. Air flow...
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
  • Problem-2 (200) Air at 30 kPa, 200 K, and 250 m/s enters a turbojet engine in...

    Problem-2 (200) Air at 30 kPa, 200 K, and 250 m/s enters a turbojet engine in flight. The air mass flow rate is 28 kg/s. The compressor pressure ratio is 13, the turbine inlet temperature is 1460 K, and air exits the nozzle at 30 kPa. The diffuser and nozzle processes are isentropic, the compressor and turbine have isentropic efficiencies of 81% and 88%, respectively, and there is no pressure drop for flow through the combustor. Kinetic energy is negligible...

  • Problem 14.43 Water at T = 25°C is drawn from an underground detention tank and discharged...

    Problem 14.43 Water at T = 25°C is drawn from an underground detention tank and discharged into a drain using a 9-in-long pipe and pump (Figure 1). The pipe has a diameter of 100 mm and a friction factor of f = 0.02. The atmospheric pressure is 101.3 kPa. The velocity through the pipe is 4 m/s and h = 5 m. Neglect minor losses. Part A Determine the available NPSH. Express your answer using three significant figures. IVO AQ...

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