diff options
Diffstat (limited to '3765/CH5/EX5.5/Ex5_5.sce')
-rw-r--r-- | 3765/CH5/EX5.5/Ex5_5.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3765/CH5/EX5.5/Ex5_5.sce b/3765/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..754b6d91d --- /dev/null +++ b/3765/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,22 @@ +clc +// Example 5.5.py +// Consider a convergent divergent duct with an exit to throat area ratio of 1.6. +// Calculate the exit to reservoir pressure ratio required to achieve sonic flow +// at the throat, but subsonic flow everywhere else. + +// Variable declaration +Ae_by_At = 1.6 // ratio of exit to throat area + +// Calculations + +// since M = 1 at the throat Mt = Astar +// Ae/At = Ae/Astar = 1.6 + +// from table A1 for Ae/Astar = 1.6 +po_by_pe = 1.1117 // po/pe +pe_by_po = 1/po_by_pe // pe/po + + +// Results +printf("\n Exit to reservoir required pressure ratio is %.1f", pe_by_po) + |