Solve heat problem by using pdepe

4 vues (au cours des 30 derniers jours)
Hyeongyu Lee
Hyeongyu Lee le 15 Mar 2020
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?

Réponses (1)

Josh Meyer
Josh Meyer le 25 Mar 2020
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