diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3765/CH5/EX5.7/Ex5_7.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3765/CH5/EX5.7/Ex5_7.sce')
-rw-r--r-- | 3765/CH5/EX5.7/Ex5_7.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/3765/CH5/EX5.7/Ex5_7.sce b/3765/CH5/EX5.7/Ex5_7.sce new file mode 100644 index 000000000..a0ffe3e57 --- /dev/null +++ b/3765/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,26 @@ +clc +// Example 5.7.py +// Consider the wind tunnel described in example 5.2. Estimate the ratio of diffuser +// throat area to nozzle throat area required to allow the tunnel to start. Also, +// assuming that the diffuser efficiency is 1.2 after the tunnel has started, calculate +// the pressure ratio across the tunnel necessary for running i.e. calculate the ratio +// of total pressure at the diffuser exit to the reservoir pressure. + +// Variable declaration + +M = 2.5 // mach number before the shock +eta_d = 1.2 // diffuser efficiency + +// Calculations + +// from table for M = 2.5 +po2_by_po1 = 0.499 // po2/po1 +At2_by_At1 = 1 / po2_by_po1 // At2/At1 = po1/po2 + +Pdo_by_po = eta_d * po2_by_po1 // pdo/po + +// Results +printf("\n Ratio of diffuser throat area to nozzle throat area %.2f", At2_by_At1) + +printf("\n Ratio of total pressure at the diffuser exit to the reservoir pressure, %.3f",(Pdo_by_po)) + |