diff options
Diffstat (limited to '629/CH7/EX7.1')
-rw-r--r-- | 629/CH7/EX7.1/ex7_1.txt | 2 | ||||
-rw-r--r-- | 629/CH7/EX7.1/example7_1.sce | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/629/CH7/EX7.1/ex7_1.txt b/629/CH7/EX7.1/ex7_1.txt new file mode 100644 index 000000000..48208fce0 --- /dev/null +++ b/629/CH7/EX7.1/ex7_1.txt @@ -0,0 +1,2 @@ +The kinetic-energy correction factor is 2.
+
\ No newline at end of file diff --git a/629/CH7/EX7.1/example7_1.sce b/629/CH7/EX7.1/example7_1.sce new file mode 100644 index 000000000..fe37a4056 --- /dev/null +++ b/629/CH7/EX7.1/example7_1.sce @@ -0,0 +1,11 @@ +clear
+clc
+//Example 7.1 KINETIC ENERGY CORRECTION FACTOR FOR LAMINAR FLOW
+Vmax=1; //max velocity[m/s](say)
+ro=1; //radius of pipe[m](say)
+A=%pi*ro^2 //area[m^2]
+//Given, V=Vmax(1-(r/ro)^2)
+//dA=2*pi*r*dr
+Vbar=(1/A)*integrate('Vmax*(1-(r/ro)^2)*2*%pi*r','r',0,ro) //mean velocity[m/s]
+alpha=(1/A)*integrate('((Vmax*(1-(r/ro)^2))/Vbar)^3*2*%pi*r','r',0,ro) //kinetic-energy correction factor
+printf("\nThe kinetic-energy correction factor is %.f.\n",alpha)
\ No newline at end of file |