Borrar filtros
Borrar filtros

Heat flux equation coding

6 visualizaciones (últimos 30 días)
Nour
Nour el 28 de Jul. de 2023
Comentada: Torsten el 29 de Jul. de 2023
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

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Jul. de 2023
[sorted_t, idx] = sort(T);
sorted_R = R(idx);
gr = gradient(sorted_t, sorted_R);
q = -mean(gr);
  4 comentarios
Nour
Nour el 29 de Jul. de 2023
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 el 29 de Jul. de 2023
So problem solved ?

Iniciar sesión para comentar.

Categorías

Más información sobre Heat and Mass Transfer en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by