blob: cddb2de1f3cf8bb37eeb04a0c1bbc696c293b991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Leakage flow rate//
pathname=get_absolute_file_path('8.01.sce')
filename=pathname+filesep()+'8.01-data.sci'
exec(filename)
//Leakage flow rate (in mm^3/sec):
Q=%pi/12*D*a^3*(p1-p2)*10^3/u/L
//Velocity of flow(in m/sec):
V=Q/%pi/D/a/1000
//Specific gravity of SAE 10W oil:
SG=0.92;
//Reynolds Number:
Re=SG*dw*V*a/u/1000
//As Re<1400, flow is laminar.
printf("\n\nRESULTS\n\n")
printf("\n\nLeakage flow rate: %.3f mm^3/sec\n\n",Q)
|