首页 > 科技
EG25H4 – CA2 – Solution of PDEs
Students are expected to independently prepare solutions to the assigned
problems.
Submissions, accompanied by a plagiarism coversheet, should be uploaded to
MyAberdeen by 5pm (BST) on Friday, the 19th of April 2024. Please note that
unauthorised submissions received after the deadline will incur a late penalty as
per the University’s Policy on the Penalty for Unauthorised Late Submission of
Coursework. Solutions submitted without a plagiarism coversheet will not be
marked and will be subject to a late penalty until a plagiarism coversheet is
submitted.
Your submission should be compiled into a single ZIP file containing the
following:
1. Your plagiarism coversheet
2. Octave scripts and functions
3. A MS Word file with the figures you are asked to produce and the
appropriate analysis
Each student’s mark (out of 22), will be directly translated to the corresponding
Common Grading Scale alphanumeric. The marks for each question are shown
below. This assessment constitutes 50% of your overall course mark for EG25H4.
The presentation of your solution is crucial: the solution must be clearly set out
and explained in order to achieve a high mark. Marks will be deducted if the
working is untidy or unclear. Simply obtaining the “correct answer” is not
sufficient for achieving an excellent mark. The clarity and quality of your
explanation are equally important.
Q1. Consider a wall composed of two layers of bricks with a layer of insulation sandwiched in
between. The temperature variation, T(x, t), at a given position x and time t in a one-dimensional
cross-section through the wall can be modelled using a specific partial differential equation.
This equation will be investigated using the provided Octave functions and script.
The thermal conductivities of the different materials, which vary, are accounted for using a
spatially dependent coefficient for the temperature gradient, ∂x/∂T.
Your task is to analyse this model and interpret the results in the context of the physical system.
function Temp0 = icfun(x)
% Icfun – Initial conditions
Temp0 = 273; % unit: K
end
function [c, f, s] = pdfun(x, t, T, dTdx)
% pdfun – Define partial differential equation
c = 1;
f = (2 – 0.8*(heaviside(x-2) – heaviside(x - 3))) * dTdx;
s = 0;
end
function [pl, ql, pr, qr] = bcfun(xl, Tl, xr, Tr, t)
% bcfun – Boundary conditions
pl = 3 ;
ql = 1 ;
pr = 0.1*(Tr -273) ;
qr = 1 ;
end
% Solve the partial differential equation using pde1dm
x = linspace(0, 5, 101);
t = 0:0.1:8;
sol = pde1dm(0, @pdfun, @icfun, @bcfun, x, t);
Temp = sol(:,:,1);
%Plot temperature profiles at different times
plot(x, Temp(1,:), x, Temp(21,:), x, Temp(41,:), x,
Temp(61,:))
xlabel('Length, x');
ylabel('Temperature, T');
(a) Identify the ranges of values of x that correspond to the brick and the insulation layers.
[2 marks]
(b) What is the partial differential equation (PDE) that is being solved in this context?
[3 marks]
(c) What is the boundary condition at x=0? Please simplify your answer as much as
possible.
[2 marks]
(d) What is the boundary condition at x=5? Please simplify your answer as much as
possible.
[3 marks]
(e) At what specific times t are the temperature profiles plotted by the script?
[2 marks]
Q2. Propose a PDE of your choice, distinct from the examples provided in the lecture and
tutorial notes. This PDE should have appropriate initial and mixed Dirichlet / Neumann
boundary conditions. Solve this PDE using the PDE1DM solver. Create a figure that illustrates
the solution with respect to time t and position x.
[6 marks]
Q3. Suggest a PDE of your choice, different from the examples provided in the lecture notes,
that cannot be solved using the PDE1DM solver. Provide a detailed explanation as to why the
solver cannot be used in this case.
[4 marks]
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 搜索
-
- 04-10重塑企业生产力!2025金智维企业级智能体暨AI+新品发布会成功举办,引领人机协同新范式
- 04-10数坤科技:引领医疗大模型全能时代
- 04-10“惊蛰号”——全球首艘内河全航程自动驾驶试验船顺利下水
- 04-10喜报丨易智瑞公司通过上海数据交易所数商资格认证
- 04-10打造酒业全面预算管理最佳实践,企云方助力金徽酒打造“数智化”全面预算平台
- 04-09安世亚太电力设备级数字孪生与AI虚拟传感解决方案
- 04-09铼赛智能Edge mini斩获2025法国设计大奖 | 重新定义数字化齿科美学
- 04-09口腔数字化大变革,这场行业大会带你率先把握未来机遇!
- 04-082025 年 Control4 中国区客户启动会在杭州成功举办,开启高端智能家居新征程
- 04-08多模态能力的进化,是AI眼镜成为生活必需品的关键