summaryrefslogtreecommitdiff
path: root/548/DEPENDENCIES/11_01data.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /548/DEPENDENCIES/11_01data.sci
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '548/DEPENDENCIES/11_01data.sci')
-rwxr-xr-x548/DEPENDENCIES/11_01data.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/548/DEPENDENCIES/11_01data.sci b/548/DEPENDENCIES/11_01data.sci
new file mode 100755
index 000000000..87cd68640
--- /dev/null
+++ b/548/DEPENDENCIES/11_01data.sci
@@ -0,0 +1,10 @@
+//Refer to figure 11.1.
+M=25;//mach no. of the flow
+//let s denote distance along the sphere surface and R radius than say s/R=r
+r=0.6;//location of point 1 from stagnation point
+phi=57.3*r //location of point 1 in degrees
+theta=(90-phi)*%pi/180 //angle(in radian) made by the line tangent to the body at point 1 w.r.t free stream
+y=1.4;//specific heat ratio of air
+//let pressure behind the normal shock wave is Po2 and free stream pressure p. Then Po2/P=Rp:
+Rp=[(y+1)^2*M^2/(4*y*M^2-2*(y-1))]^(y/(y-1))*[(1-y+2*y*M^2)/(y+1)]
+Cpmax=2*(Rp-1)/(y*M^2) //maximum pressure coefficient \ No newline at end of file