Interface condition in pdepe
Show older comments
I am using PDEPE to simulate the diffusion of temperature between two domains A and B. The initial temperature of A is 0 and B is 1. I am only looking at the return to equilibrium so the diffusion equation is simply dT/dt = D.deltaT. With the same diffusion coefficient in A and B, the system will equilibrate to 0.5 everywhere. I would like to change the diffusion coefficient so that, at the same time: - there is twice as much "heating power" in B than A so that the equilibrium is at 0.666 instead of 0.5 - the diffusion speed is 2^(1/4) faster in B than A. Only changing the value of the diffusion coefficient doesn't solve my problem. How can I do it? Do I need to add a condition at the interface? How would I do that?
Thank you for your answer
Answers (1)
Torsten
on 28 Apr 2016
0 votes
It is not important how fast the diffusion process is in both regions. As long as you set dT/dx = 0 at the left end of A and the right end of B, you will end up with T=0.5 in both A and B.
Best wishes
Torsten.
3 Comments
Arthur PINON
on 28 Apr 2016
Torsten
on 28 Apr 2016
https://en.wikipedia.org/wiki/Thermal_diffusivity
Best wishes
Torsten.
Arthur PINON
on 14 Jun 2016
Categories
Find more on Partial Differential Equation Toolbox 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!