フィルターのクリア

Heat flux equation coding

5 ビュー (過去 30 日間)
Nour
Nour 2023 年 7 月 28 日
コメント済み: Torsten 2023 年 7 月 29 日
Hi
Can you please help me code a 1-D heat flux equation q =- k(dT/dR).
I have a tabulated data of both T and R values.
Thank you in advance

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 7 月 28 日
[sorted_t, idx] = sort(T);
sorted_R = R(idx);
gr = gradient(sorted_t, sorted_R);
q = -mean(gr);
  4 件のコメント
Nour
Nour 2023 年 7 月 29 日
I do have the value of K (thermal conductivity). You're right, T is temperature not time and it's function of R (radius).
Thank you. I appreciate it
Torsten
Torsten 2023 年 7 月 29 日
So problem solved ?

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

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by