blob: 5e25172da1f41cd3670c1adc3ae0366c70848862 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Pressure at beginning of compression(in bar)
p1=1;
//Temperature at beginning of compression(in K)
T1=310;
//Pressure at end of compression(in bar)
p2=15;
//Peak temperature(in K)
T3=2000;
//Ratio of specific heats
y=1.4;
//Gas constant(in J/kmolK)
R=8314;
//Specific heat at constant volume(in kJ/kgK)
Cv=0.717;
|