Variable density in heat diffusion equation
이전 댓글 표시
Suppose I have a heat diffusion equation:
rho(x)*c(x)*dT/dt=d/dx(k(x)*dT/dx)
Where rho(x) is the density, c(x) is the heat capacity and k(x) is thermal diffusivity, all being position dependent. Would I need to specify these as vectors in pdepe instead of simple numbers?
댓글 수: 1
Torsten
2018년 5월 30일
Just like the initial conditions: as simple numbers dependent on x.
답변 (2개)
Matthew Hunt
2018년 5월 31일
댓글 수: 2
Matthew Hunt
2018년 5월 31일
Torsten
2018년 6월 1일
FF=[a_1*k_var; epsilon_var; c_1*D_var].*DuDx;
instead of
FF=[a_1*k_var; epsilon; c_1*D_var].*DuDx;
Best wishes
Torsten.
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!