フィルターのクリア

Solving Heat Equation With Spatially Varying Thermal Conductivity

9 ビュー (過去 30 日間)
Aidan Petrovich
Aidan Petrovich 2015 年 7 月 8 日
コメント済み: Sitong Wu 2021 年 6 月 30 日
I was following this tutorial on how to solve the steady state heat diffusion or transfer problem and so far its been helpful.
However, I was wondering how would one solve the same problem when the thermal conductivity varies with either the x or y coordinate. In this they have a varying thermal conductivity but it only varies with temperature and not space. So I hope some one could explain how to do the same for a spatial varying thermal conductivity or direct me to something that could explain it. Thanks.
  1 件のコメント
Sitong Wu
Sitong Wu 2021 年 6 月 30 日
Hi, I am facing the exactly same problem as you did 6 years ago.
Did you find the way to solve it?
:D

サインインしてコメントする。

回答 (1 件)

Alan Weiss
Alan Weiss 2015 年 7 月 9 日
The documentation describes how to include coefficients as string expressions. In brief, use 'x' and 'y' as strings representing the x and y coordinates. For example, if your k coefficient is 0.3 + x*y/20, then use
k = '0.3+x.*y/20';
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by