How to solve this question? Help :'(
古いコメントを表示
Question 4 (20 marks)
Laplace’s equation: Determine the distribution of temperature in a rectangular plane section, subject to a temperature distribution around its edges as follows:
The section shape, the boundary temperature distribution section and two chosen nodes are shown in the figure.
The temperature distribution is described by Laplace’s equation. Solving this equation by the finite difference method to nodes 1 and 2 of the mesh shown in the figure. This gives
(233.33 +T2 + 0 100 - 4T1)/h^2 = 2
(333.33 + 250 + 0 + T1 - 4T2)/h^2 = 2
where and are the unknown temperatures at nodes 1 and 2, respectively, and
Rearranging these equations gives
[■(-4&1@1&-4)][■(T_1@T_2 )]=[■(-333.33@-583.33)][■(-4&1@1&-4)][■(T_1@T_2 )]=[■(-333.33@-583.33)]
Solving this equation, we have and .
If we require a more accurate solution of Laplace’s equation, then we must use more nodes and the computation burden increases rapidly. Write a MATLAB script to solve the Laplace’s equation for any number of nodes in a square domain only. Run your codes for number of nodes
4 件のコメント
Rik
2020 年 6 月 30 日
I would almost say good job on posting your homework question, but you forgot to fix the formatting.
You also forgot to ask a question. This is your homework. What did you try?
raizo dono
2020 年 6 月 30 日
編集済み: raizo dono
2020 年 6 月 30 日
raizo dono
2020 年 6 月 30 日
編集済み: raizo dono
2020 年 6 月 30 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!