Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab Session 1 1 : Numerical Differentiation Use of Splines to estimate heat transfer ( Numerical Differentiation ) Lakes in the temperate zone become thermally

Lab Session 11: Numerical Differentiation
Use of Splines to estimate heat transfer (Numerical Differentiation)
Lakes in the temperate zone become thermally stratified during the summer. Such
stratification effectively divides the lake vertically into two layers: the epilimnion and the
hypolimnion, separated by a plane called the thermocline.
The location of the Thermocline has great significance for environmental engineers. In
particular, thermocline greatly diminishes mixing between the two layers, as a result, the
decomposition of organic matter can lead to severe depletion of oxygen in the isolated
bottom waters.
The location of the thermocline can be defined as the inflection point of the temperaturedepth curve; that is, the point at which (d
2T/dz2
)=0. It is also the point at which the
absolute value of the first derivative or gradient is a maximum.
Use cubic splines to determine the thermocline depth for a Lake for which the
Temperature vs Depth data is given as follows
z,[m]-0-2.3-4.6-6.9-9.2-11.5-13.8-16.1
T,[oC]22.822.722.520.613.911.711.211.1
The purpose of this task is to analyze the data with the use of MATLAB spline built-in
function.
a) First, plot the data points with MATLAB, (notice that x-axis values are Temperatures,
while y-axis values are depth)
> plot(z,T,r*)
(dont forget your axis labels and other details in your plot)
b) on top of this plot, also plot the results of MATLAB spline interpolant using built-in
function spline(use help to learn more on spline command)
zz = linspace(0,-16.1);
TS = spline(z,T,zz);
plot(zz,TS)%select a different color if you like
c) Now use FDD, BDD, or CDD (whichever is appropriate) to find the 1st and 2nd
derivative of Temperature (T) with respect to depth (z) with (
).
Plot these results separately, and locate the thermocline from
2/
2 plot. (Formulations
for FDD, BDD, and CDD are given in Figures 21.3,21.4, and 21.5, respectively).
Remember Thermocline is at a depth where (
2/
2
)=0.
d) If the heat flux from the surface to the bottom layer can be computed with Fouriers
LAW
=
Compute the flux at this thermocline interface (=0.01 cal/(s.cm.\deg C))
NOTE: Please check help spline and help diff to get more information on using built in
functions
Please do with Matlab and answers inhold Matlab Code and plese write a total discussion

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Hydraulic Engineering Systems

Authors: Robert J. Houghtalen, A. Osman H. Akan, Ned H. C. Hwang

4th Edition

136016383, 978-0136016380

More Books

Students also viewed these Mechanical Engineering questions