Concentration dependent Diffusion

6 ビュー (過去 30 日間)
Andreas Bliersbach
Andreas Bliersbach 2011 年 2 月 16 日
Hey,
I am trying to solve Fick's second law and simulate Diffusion, but with a non linear diffusion coefficient. The law states:
  • Where C is the concentration
  • D is the diffusion coefficiant
  • x is a space coordinate
First I would like a linear dependence D = (C_0-C)*D_0
  • With C_0 = initial concentration at a source
  • C = concentration at the position the simulation calculates
  • D_0 = initial diffusion coefficient
And later a quadratic dependence of C in D.
I used the PDE toolbox so far and it gave nice and fitting results for the linear problem of a constant D, however I can't figure out how to solve the problem with a concentration dependence in the diffusion coefficient.
How I see it this would be a nonlinear parabolic partial differential equation.
I would very much appreciate every form of help! Thank you in advance!
Cheers Andreas

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2011 年 2 月 16 日
On the matlab file exchange there are several tools for nonlinear diffusion filtering. These tools are designed for image filtering/processing, but they obviously do solve the nonlinear diffusion equations.
HTH,
  1 件のコメント
Andreas Bliersbach
Andreas Bliersbach 2011 年 2 月 16 日
As far as I understood those diffusion filterings, you mentioned, D depends not on C but on its gradient. D =a* grad(C)
That however is not what I want, I would need a dependency of C
like D = (a-C)*b
Since I am not a very experienced Matlab User I find it very hard to wiggle around in a code I haven't written myself, so I don't know if I could rewrite those diffusion filterings you've mentioned!
Thank you for your reply anyway :)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by