summaryrefslogtreecommitdiff
path: root/548/DEPENDENCIES/4_19data.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/4_19data.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/4_19data.sci')
-rwxr-xr-x548/DEPENDENCIES/4_19data.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/548/DEPENDENCIES/4_19data.sci b/548/DEPENDENCIES/4_19data.sci
new file mode 100755
index 000000000..cadbd2a4f
--- /dev/null
+++ b/548/DEPENDENCIES/4_19data.sci
@@ -0,0 +1,15 @@
+//Assume the flow to be isentropic
+P=1.013*10^5; //free-stream pressure,N/m^2
+V=804.7*5/18; //free-stream velocity,m/s
+D=1.23; //density,Kg/m^3
+Pa=0.7167*10^5; //pressure at a point on airfoil
+R=287 ;//gas constant,J/Kg.K
+y=1.4; //specific heat ratio for air
+T=P/(D*R) //free stream temperature
+a=sqrt(y*R*T)//speed of sound at free stream temperature
+M=V/a //free stream mach no.
+To=T*(1+(y-1)*M^2/2) //free stream total temperature
+Po=P*(1+(y-1)*M^2/2)^(y/(y-1)) //free stream total pressure
+Poa=Po;//since the total presssure remains same inisentropic flow
+Toa=To;//since the total temperature remains same inisentropic flow
+