Solve heat problem by using pdepe

2 ビュー (過去 30 日間)
Hyeongyu Lee
Hyeongyu Lee 2020 年 3 月 15 日
回答済み: Josh Meyer 2020 年 3 月 25 日
I want to solve two boundary condition heat equation changed by time
at t = 0~0.03
pl = ul-15; ql = 0;
pr = ur+20; qr = 0;
at t = 0.03~0.3
pl = ul-15; ql = 0;
pr = ur-80; qr = 0;
c = 1; f = dudx; s = 0; u0 = 15
how can I solve this problem?

回答 (1 件)

Josh Meyer
Josh Meyer 2020 年 3 月 25 日
Assuming you want to enforce pr = ur+20; at t=0.03, then you can split the problem into two sub-problems that are solved separately, using the solution of the first problem posed on the interval [0, 0.03] as the initial condition for the second problem posed on the interval [0.03, 0.3].

Community Treasure Hunt

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

Start Hunting!

Translated by