I have this Non-linear PDE $$ \frac{\partial C}{\partial t}=\left(\frac{\partial C}{\partial x}\right)^2+C\frac{\partial^2 C}{\partial x^2} $$

Where C is a function of (x,t) It comes from the diffusion equation where D is concentration depending, and has the linear form $D=k \cdot C$. The PDE made dimensionless for simplicity.

I have tried to find a solution with finite difference methods but without luck, The PDE can be linearized but this will make the numerical solution to inaccurate so no luck there either.

So how can I get a proper numerical solution?

  • $\begingroup$ Are there boundary/initial conditions? What kind of problems did you run into when solving? $\endgroup$ – Dylan May 17 '19 at 13:43
  • $\begingroup$ In my particular case the BC's is C(0,t)=14 and C(xi,t)=2, the IC is C(x,0)=2. And the PDE is the diffusion equation if D linear dependent of C, so D=C*k where k is some constant and C is the concentration of some contaminant. $\endgroup$ – Peter Panduro Jørgensen May 17 '19 at 20:09
  • $\begingroup$ That doesn't make sense. If $k$ is just a constant, then $D_t = D_{xx} \implies kC_t = kC_{xx} $ which is just the same diffusion equation in $C$ $\endgroup$ – Dylan May 17 '19 at 20:32
  • $\begingroup$ The Diffusion equation with a concentration depending diffusion coefficient is $$ \frac{\partial C}{\partial t}=\frac{\partial }{\partial x} \left(D \frac{\partial C}{\partial x}\right) $$ The k disappears because it is made dimensionless $\endgroup$ – Peter Panduro Jørgensen May 18 '19 at 5:44
  • $\begingroup$ You should definitely specify that in the question. I was assuming $D$ was the unknown variable in the diffusion equation. $\endgroup$ – Dylan May 18 '19 at 9:53

You can look at this article

The way you obtain the result that is shown in the article is to look for a scaling function : $$ C(t,r) = t^{-a s} F(r t^{-a} )$$

You obtain an equation and you impose that only the variable : $x=r t^{-a} $ remains, sinceyou want a separation of variables. You obtain a relation between $s$ and $n$ that are defined in the article : $a=1/(sn+2)$. And you finish the work.

Tell me if you want me to write the whole calculation.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.