Interface condition in pdepe
Mostrar comentarios más antiguos
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
Respuestas (1)
Torsten
el 28 de Abr. de 2016
0 votos
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 comentarios
Arthur PINON
el 28 de Abr. de 2016
Torsten
el 28 de Abr. de 2016
https://en.wikipedia.org/wiki/Thermal_diffusivity
Best wishes
Torsten.
Arthur PINON
el 14 de Jun. de 2016
Categorías
Más información sobre Partial Differential Equation Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!