Solve heat problem by using pdepe

1 view (last 30 days)
Hyeongyu Lee
Hyeongyu Lee on 15 Mar 2020
Answered: Josh Meyer on 25 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?

Answers (1)

Josh Meyer
Josh Meyer on 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].

Categories

Find more on Heat and Mass Transfer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!