pdetool concentration profile simulation
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (2)
Wen huang
il 21 Mar 2016
0 voti
2 Commenti
Alan Weiss
il 22 Mar 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
il 25 Mar 2016
Wen huang
il 25 Mar 2016
0 voti
2 Commenti
Wen huang
il 4 Apr 2016
Alan Weiss
il 4 Apr 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
Categorie
Scopri di più su Eigenvalue Problems in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

