blob: bde4e1e59d1b24e0062a28e0a395ea5d832f4bc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Diameter of pipe(in m):
D=7.16*10^-3;
//Stagnation pressure(in kPa):
p0=101;
//Stagnation temperature(in K):
T0=296;
//Pressure at section 1(in kPa):
p1=98.5;
//Temperature at section 2(in K):
T2=287;
//Gas constant(in N-m/kg-K):
R=287;
//Value of k:
k=1.4;
|