From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 629/CH10/EX10.2/ex10_2.txt | 2 ++ 629/CH10/EX10.2/example10_2.sce | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 629/CH10/EX10.2/ex10_2.txt create mode 100644 629/CH10/EX10.2/example10_2.sce (limited to '629/CH10/EX10.2') diff --git a/629/CH10/EX10.2/ex10_2.txt b/629/CH10/EX10.2/ex10_2.txt new file mode 100644 index 000000000..190dfc8f5 --- /dev/null +++ b/629/CH10/EX10.2/ex10_2.txt @@ -0,0 +1,2 @@ + +The head loss per 100m length of the pipe = 9.84 m. \ No newline at end of file diff --git a/629/CH10/EX10.2/example10_2.sce b/629/CH10/EX10.2/example10_2.sce new file mode 100644 index 000000000..1b824367f --- /dev/null +++ b/629/CH10/EX10.2/example10_2.sce @@ -0,0 +1,16 @@ +clear +clc +//Example 10.2 HEAD LOSS FOR LAMINAR FLOW +g=9.81; //[m/s^2] +L=100; //[m] +D=0.15; //diameter[m] +A=%pi*D^2/4 //area[m^2] +Q=0.02 ;//[m^3/s] +v=6*10^-4; //[m^2/s] +V=Q/A //[m/s] +//Reynolds number +Re=V*D/v +//Re<2000, the flow is laminar. +//Head loss(laminar flow) +hf=32*v*L*V/(g*D^2) //[m] +printf("\nThe head loss per 100m length of the pipe = %.2f m.\n",hf) \ No newline at end of file -- cgit