Interface condition in pdepe
Afficher commentaires plus anciens
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
Réponses (1)
Torsten
le 28 Avr 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 commentaires
Arthur PINON
le 28 Avr 2016
Torsten
le 28 Avr 2016
https://en.wikipedia.org/wiki/Thermal_diffusivity
Best wishes
Torsten.
Arthur PINON
le 14 Juin 2016
Catégories
En savoir plus sur Partial Differential Equation Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!