pdepe: [c f s]: extract f (the flux term)

1 回表示 (過去 30 日間)
Zana Taher
Zana Taher 2019 年 4 月 5 日
コメント済み: Torsten 2019 年 4 月 8 日
Hi everyone,
I would need to extract the flux term, f, (not gradiaent) in the pdepe function. Does anyone know a way to extract f at certain times?
Thanks!
  5 件のコメント
Zana Taher
Zana Taher 2019 年 4 月 8 日
No, because the flux contains the partial derivative that is not included in the sedprop function. So I have to calculate k with the following code and the get f.
% for j=1:length(t) % for i=1:length(x) % [q(j,i),k(j,i),c(j,i)]=sedprop(u(j,i),p); % end
Once I had k, I can calculate f using pdeval. What do you think?
Torsten
Torsten 2019 年 4 月 8 日
Yes, that's correct. I just missed the call to "pdeval" in your code from above to get DuDx(j,i)

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by