summaryrefslogtreecommitdiff
path: root/1775/CH5/EX5.5/Chapter5_Example5.sce
blob: dcea89b21b63706cbb145a59cefc10d1cc4f87cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//Chapter-5, Illustration 5, Page 253
//Title: Air Compressors
//=============================================================================
clc
clear

//INPUT DATA
D=0.2;//Bore in m
L=0.3;//Stroke in m
lc=0.015;//Linear clearance in m
P1=1;//Pressure at point 1 in bar
P2=7;//Pressure at point 2 in bar
n=1.25;//Adiabatic gas constant

//CALCULATIONS
V3=(3.147*(D^2)*lc)/4;//Clearance volume in m^3
Vs=(3.147*(D^2)*L)/4;//Stoke volume in m^3
C=V3/Vs;//Clearance ratio
nv=(1+C-(C*((P2/P1)^(1/n))))*100;//Volumetric efficiency
DV=(nv*Vs)/100;//Volume of air taken in (m^3)/stroke

//OUTPUT
mprintf('Theoretical volume of air taken in per stroke is %3.6f (m^3)/stroke',DV)








//==============================END OF PROGRAM=================================