pdetool concentration profile simulation
Mostrar comentarios más antiguos
I want to use pdetool to simulate the hydrogen concentration profile based on the fick's second law in two dimensional system. the model is like this, there is two joined region A and B. diffusion coefficient in A is faster than that in B. hydrogen diffusion in this two region is 2 dimension(along x and y). they have the same boundary condition, for example the initial concentration is constant and same in A and B. how do we set the different diffusion coefficient in this two region? how should I do with the border between A and B region, since hydrogen will diffuse from A to B (y direction) since it is faster in A region. To me, it seems that after I set the boundary condition, I can not set different D in this two region.
Respuesta aceptada
Más respuestas (2)
Wen huang
el 21 de Mzo. de 2016
0 votos
2 comentarios
Alan Weiss
el 22 de Mzo. de 2016
I cannot reproduce your problem exactly, though on occasion I, too, have seen that the boundary conditions or coefficients sometimes seem to change in an unpredictable fashion. This can occur when you change the problem type in the middle of setting up your problem.
I suggest that you draw the geometry first, immediately set the problem type (diffusion), then set the boundary conditions, and then the diffusion coefficients. I believe that you will not have any problems if you set things in this order.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Wen huang
el 25 de Mzo. de 2016
Wen huang
el 25 de Mzo. de 2016
0 votos
2 comentarios
Wen huang
el 4 de Abr. de 2016
Alan Weiss
el 4 de Abr. de 2016
As I said, I cannot reproduce your problem. When I follow the exact steps I told you, then I can set the coefficients differently in the two domains. I am sorry not to be able to help you more.
You could try Technical Support and see if they can help.
Alan Weiss
MATLAB mathematical toolbox documentation
Categorías
Más información sobre Eigenvalue Problems 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!

