summaryrefslogtreecommitdiff
path: root/587/CH4/EX4.6/example4_6.sce
blob: 8b01c98e99ceae544f00490c6fe710894cdc9bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clear;
clc;

//Example4.6[Minimum Burial Depth of Water Pipes to avoid Freezing]
//Given:-
//Soil properties:-
k=0.4;//Thermal conductivity[W/m.degree Celcius]
a=0.15*(10^(-6));//Thermal diffusivity[m^2/s]
T_in=15;//Initial uniform temperature of ground[degree Celcius]
T_x=0;//Temperature after 3 months[degree Celcius]
Ts=-10;//Temperature of surface[degree Celcius]
//Solution:-
//The temperature of the soil surrounding the pipes wil be 0 degree Celcius after three months in the case of minimum burial depth, therefore we have
x=(h/k)*(sqrt(a*t));
//Since h tends to infinty
x=%inf;
y=(T_x-T_in)/(Ts-T_in);
//For values of x and y we have
neta=0.36;
t=90*24*60*60;//[seconds]
x=2*neta*sqrt(a*t);//[m]
disp("m",x,"Water pipes must be burried to a depth of at least ")
disp("so as to avoid freezing under the specified harsh winter conditions")