CENV2008 Coursework 1

联系我们: 手动添加方式: 微信>添加朋友>企业微信联系人>13262280223 或者 QQ: 1483266981

CENV2008 Coursework 1
Set on: 19-Feb-24
Due on: 20-Mar-24
Questions to: Dr Sergio Maldonado; s.maldonado@soton.ac.uk
Drop-in session: 28-February 10:00-12:00 hrs in BB Collaborate
Submission details:
This coursework has two parts (A and B), which are described in detail in the sections below.
You will need to submit in e-assignments the following content:
A report for Part A (PDF file)
A report for Part B (PDF file)
A folder with Matlab codes in it, corresponding to Part B (zip file)
Details of each file to be submitted are given below.
This coursework is done and submitted in pairs. Please fill in the following document with
your requested pair until Friday 23-Feb (student pairs not in the document after this date
will be allocated randomly):
https://docs.google.com/spreadsheets/d/1NCsNyuI6pYOkbnWQpfz1iDlriN_JZAcW9iKKAjN9
eqo/edit usp=sharing
It is very important that your material is well organised, or you risk losing points either due
to poor organisation or my missing something (e.g. a code).
Feedback:
Some minor feedback will be given individually via e-assignments. However, more
comprehensive feedback will be given to all in a single file after the marking deadline
(posted in Blackboard) combining insights from all reports.
Part A – Pipe network (50%)
Summary:
Using the free software EPANET (https://www.epa.gov/water-research/epanet), you will
propose the diameter for each pipe composing a given pipe network design. Your proposal,
your analysis of its performance, and your justification for the proposal will all be evaluated
(as well as presentation, writing, etc.). You will then analyse the behaviour of your proposal
for high- and low-demand scenarios. Complementary information will be given in class.
Instructions:
You are given the pipe network layout shown in Fig. 1, as well as data corresponding to the
length and roughness of each pipe, and water demand and ground elevation of each node
(Tables 1, 2 and 3). NOTE: the demand column you will use is given by your student ID
number (see caption in Table 1). The peak factor is 2.0 (more information on ‘peak factor’
in the associated video). Your task is to select pipe diameters that will make the system
operate efficiently, allowing for the correct pressure, head loss and flow velocity. In
particular, you must ensure that:
1. At every node, pressure head is between 10 and 50 m
2. Velocity in all pipes must be above 0.28 m/s
3. Head losses must not exceed 10 m per 1 km of pipe
You can only select standard pipe diameters (i.e. 25, 50, 75, 100,125, 175, 200, 225, 250,275
or 300mm). If you deem a given pipe to be redundant, you may remove it from the original
design (if it saves costs), but you cannot add new pipes.
Once you are satisfied with your design for the base scenario (defined by the peak factor of
2.0), you will analyse the performance of your network for low- and high-demand scenarios,
given by peak factors of 0.5 and 3.0, respectively. Discuss how your network behaves for
such scenarios, and what potential solutions—if necessary—you would put forward
considering that your original network has already been built (in other words, you should
not redesign your original network).
Submission:
Part A of this coursework should be submitted in a single PDF file. All your writing (including
the justification of your original design, its analysis, its performance under high/low
demands and potential solutions, and any other discussions you may consider relevant)
should be presented in one page maximum (Calibri or Arial 12, single spacing). However,
you are encouraged to include appendices supporting your analysis; for example (but not
limited to), illustration of your network, selected diameters, resulting pressure and
velocities in each pipe/node (either in a table and/or a plot), etc.
The Coursework
Fig. 1. Pipe network layout. For information on the pipes and nodes see tables below.
Table 1. Average base demand and elevation (from a given datum) for each node shown in Fig. 1. Ten
different scenarios (columns) are given. You must select the one corresponding to the last digit in your
student ID number (for any of the two students involved) with 0 corresponding to the first column.
Table 2. Recall, pumps are treated as nodes with a negative demand, which must be modified to account
for the peak factor, as discussed in class/video. The water level in the reservoir should be set to 40 m
above datum.
Table 3. Characteristics (length and roughness) of each pipe shown in Fig. 1. Roughness is given in the last
column; HWC stands for Hazen-Williams Coefficient, because you will estimate the losses in each pipe
within EPANET using the Hazen-Williams equation.
Part B – Colebrook-White equation (50%)
Abstract:
Colebrook-White equation is used to estimate the Darcy friction factor as a function of
Reynolds number and the pipe relative roughness. You will write a Matlab code (or codes)
to solve this equation numerically and reproduce the Moody chart.
Instructions:
Colebrook-White equation expresses the Darcy friction factor, , as a function of the
Reynolds number, Re, and the relative roughness, / . This equation, valid for Re>4000, is:
1
&
= 2 log .
3.71 +
2.51
Re &
6 .
(Notes: it is log10, not natural logarithm ln. Also, notation may change depending on the
source; is sometimes replaced by , and by or !)
The above is an implicit function, which requires a numerical, iterative solution. I propose
you use the fixed-point method (but you are welcome to use other methods). You are
encouraged to look this up, but in few words, the fixed-point method allows you to find
roots for any (continuous) function in a simple way. You first need to cast your function in
the form: ( ) = 0, or rather = ( ). Then, starting from an initial guess for the root,
“, you may estimate the following estimates according to:
#$% = ( #), = 0,1,2, …
which should converge, even if slowly, to a root of the equation1
.
Your first task is to write a Matlab code (or codes) to calculate for any values (given by the
user; i.e. me) of Re and / . Note, this includes the laminar regime, which, for the purposes
of this coursework, we will take to be defined by Re ≤ 4000. You should NOT use Matlab
in-built functions for finding roots of equations. You will need to justify (see below) what
you did, with particular attention being paid to the convergence criterion you select and the
rationale behind the initial guess (which should not be given by the user of your code). You
are also asked to test your code for a wide range of (realistic) values of Re and / , and
comment on the performance of your code; e.g. how many iterations does it take to
converge, what is the estimated error in your results, etc.
Then, you will use the same or another code to reproduce a section of the Moody chart. I
ask you to reproduce a family of curves (the number is up to you) for any given ranges of Re
and &
‘ (you select these ranges).
You will submit both a report and all codes you write and use (see details below), all of
which will be evaluated.
1 You may first practice with a simpler implicit function; say: !”# $
$ = 1.
Submission:
This part of the coursework requires both a written report and a Matlab code (or codes).
The report will be a single PDF file. The written part should be maximum one page long,
and should include a description of how you solved the Colebrook-White equation, your
criteria for the initial guess and convergence, an analysis of your code’s performance (e.g.
estimated error, number of iterations required), etc. In the same file, you should include
your own reproduction of the Moody chart in a separate page. As with Part A, you are
encouraged to include appendices with as many figures you deem useful and insightful. The
one page limit applies to the written part only.
You will also attach your Matlab code or codes (in a zip file), which should be readily usable
by the marker (me). Good programming practice will be evaluated; for example (but not
limited to), does the code run Does it give correct results If I want to understand what it
does, is it clear to follow (e.g. is it commented and well structured ) Is it easy to navigate
through the codes etc.
If you have any questions, please do not hesitate to contact me.
Dr Sergio Maldonado
s.maldonado@soton.ac.uk

发表回复