Concentration dependent Diffusion
7 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Bjorn Gustavsson
on 16 Feb 2011
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,
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!