How to define thermal properties calculated by another function with temperature as input

1 回表示 (過去 30 日間)
Hello,
I am using createpde to create a transient heat transfer model. The thermal properties of my product is a function of temperature but is not a linear function, and I wrote another function with temperature as the input to calculate the thermal properties. I found a linear function is usually written like this k = @(~,state) 0.3+0.003*state.u, how to write it for a non-linear function with temperature as the independent variable?
Thank you very much!
Best regards, Shengyue Shan

採用された回答

Walter Roberson
Walter Roberson 2018 年 10 月 31 日
In those models, state.u is the temperature, so go ahead and use any appropriate anonymous function, such as
@(location,state) 0.052*exp(3.6-state.u)
  4 件のコメント
Shengyue Shan
Shengyue Shan 2018 年 11 月 1 日
Hello Walter, Thank you very much for your answer! I will try it.
Shengyue Shan
Shengyue Shan 2018 年 11 月 1 日
It works! Thank you!

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by