Interface condition in pdepe

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

回答(1 个)

Torsten
Torsten 2016-4-28

0 个投票

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 个评论

Hello I want the diffusion to be faster in region B aAND the specific heat capacity to change in B at the same time. How should I do?
https://en.wikipedia.org/wiki/Thermal_diffusivity
Best wishes
Torsten.
You don't solve my problem. At all.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by