radial heat transfer equation

13 Ansichten (letzte 30 Tage)
VOLKAN YILDIRIM
VOLKAN YILDIRIM am 19 Mär. 2020
Kommentiert: VOLKAN YILDIRIM am 19 Mär. 2020
Hi,
I solved a radial heat generation problem. I would like to plot for different value of k_u and q_dot from center to the wall. This is my code, and any feedback would be greatly appreciated.
clear
close all
q_dot = linspace(3000,5000,10);
r = linspace(0.000000001,0.01,50);
k_u = linspace(1000,5000,10);
T =@(r,q_dot,k_u) ( - (q_dot/ (4*k_u))* r.^2 + (100/k_u)* log(r) + 2000 );
for i = 1:length(q_dot)
for j = 1:length(k_u)
for k = 1:length(r)
T_sol(i,j,k) = T(r(k),q_dot(i),k_u(j));
end
end
end
plot(T(1,1,:), r)
  7 Kommentare
darova
darova am 19 Mär. 2020
Look also into isosurface
VOLKAN YILDIRIM
VOLKAN YILDIRIM am 19 Mär. 2020
i will work on more but this isosurface did not work. i am not looking for isosurfaces. thanks for your help though.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by