Solving a system of PDE, not on the same control volume
Mostrar comentarios más antiguos
Hello, i'm trying to solve a problem similar to the one in the attached photo(not the same one...but the same concept): a system of parabolic PDEs, like the heat transfer problem between different materials. how can i do it with MATLAB? from what i understood, PDEPE can solve a system, but only on the same control volume. any other ideas?
i'll thanks your help in implementing a solution of my problem
Thanks, in advance! Bar
2 comentarios
Mohammad Monfared
el 7 de Dic. de 2013
Do you have access to PDE toolbox?
Bar
el 8 de Dic. de 2013
Respuesta aceptada
Más respuestas (1)
Bill Greene
el 7 de Dic. de 2013
0 votos
Hi,
There is no difficulty using pdepe to solve your equation. You define xmesh over the full 2L length and, for best results, you want to define the number of elements in xmesh so that there is a node point at x=L. Beyond that, in your pdefun function, you just define the flux in terms of a1 if x<L and a2 if x>L.
Bill
3 comentarios
Bar
el 8 de Dic. de 2013
Bill Greene
el 9 de Dic. de 2013
By flux term, I simply mean the f output from pdefun. This is the heat flux in your example-- either alpha_1*dT/dx or alpha_2*dT/dx. The only boundary conditions to be specified are at x=0 and x=2L.
Bill
Bar
el 10 de Dic. de 2013
Categorías
Más información sobre PDE Solvers en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
