blob: a02245386e9f721adce521b7e613bd0390da08bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Inlet pressure(in bar)
p1=1;
//Inlet temperature(in K)
T1=290;
//Pressure at the end of compression sroke(in bar)
p2=35;
//Expansion ratio
re=5;
//Ratio of specific heats
y=1.4;
//Specific heat at constant pressure(in kJ/kg)
Cp=1.004;
//Specific heat at constant volume(in kJ/kg)
Cv=0.717;
|