blob: cbae142fddb1a8745de4c054e4655750c8957e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Mass flow
m=1;
M=29;
//Gas constant(in J/kmolK)
R=8314;
//Initial temperature(in K)
T1=310;
//Compression ratio
r=6;
//Initial pressure(in bar)
p1=1;
//Peak pressure(in bar)
p3=30;
//Ratio of specific heats
y=1.4;
|