blob: 0a7be40c951c0a89c0f35e44797ac42e28d93322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Volume of tak(in m^3):
V=0.1;
//Temperature of line and tank(in K):
T=293;
//Initial tank gauge pressure(in N/m^2):
p1=1*10^5;
//Absolute line pressure(in N/m^2):
p=2*10^6;
//Rate of rise of temperature after opening of the valve(in C/sec):
r=0.05;
//Atmospheric pressure(in N/m^2):
patm=1.01*10^5;
//Gas Constant(in N-m/(kg-K)):
R=287;
//Value of cv(in N-m/kg-K):
cv=717;
|