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

Risposte (1)

Torsten
Torsten il 28 Apr 2016

0 voti

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 Commenti

Arthur PINON
Arthur PINON il 28 Apr 2016
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?
Torsten
Torsten il 28 Apr 2016
https://en.wikipedia.org/wiki/Thermal_diffusivity
Best wishes
Torsten.
Arthur PINON
Arthur PINON il 14 Giu 2016
You don't solve my problem. At all.

Accedi per commentare.

Categorie

Scopri di più su Partial Differential Equation Toolbox in Centro assistenza e File Exchange

Richiesto:

il 28 Apr 2016

Commentato:

il 14 Giu 2016

Community Treasure Hunt

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

Start Hunting!

Translated by