Borrar filtros
Borrar filtros

PDE propagating from point source

4 visualizaciones (últimos 30 días)
María Jesús
María Jesús el 11 de Jul. de 2015
Comentada: Nicholas Mikolajewicz el 2 de Feb. de 2018
I want to solve numerically a nonlinear diffusion equation from an instantaneous point source. Thus, I have initial conditions, but not boundary conditions. How should I go about writing a code to solve circular propagation from a point?
Thanks!!
  2 comentarios
Torsten
Torsten el 13 de Jul. de 2015
What is the equation you try to solve (because you are talking about a nonlinear diffusion equation) ?
Best wishes
Torsten
María Jesús
María Jesús el 14 de Jul. de 2015
$\frac{\partial C}{\partial t}=r^{1-s}\frac{\partial}{\partial r}[r^{s-1}D\frac{\partial C}{\partial r})]$ where $s$ is constant and $D=D_0(\frac{\partial C}{\partial C_0})^n$ and $n>0$

Iniciar sesión para comentar.

Respuesta aceptada

Torsten
Torsten el 14 de Jul. de 2015
I assume you want the point source appear at r=0.
Choose the interval of integration as [0:R] where R is big enough to ensure that C=C(t=0) throughout the period of integration.
As initial condition, choose an approximation to the delta function.
As boundary conditions, choose dC/dr = 0 at both ends.
Best wishes
Torsten.
  6 comentarios
Torsten
Torsten el 27 de Jul. de 2015
1. You will have to work with a numerical approximation to the delta function. I gave you a suitable link.
2. Your boundary conditions are incorrect. You will have to set
pl=0, ql=1, pr=0, qr=1
3. I don't understand your definition of D. The setting
D = D_0/(KronD(r, 0))^n;
doesn't make sense.
Best wishes
Torsten.
Nicholas Mikolajewicz
Nicholas Mikolajewicz el 2 de Feb. de 2018
Torsten, regarding the earlier answer you provided, whats the reasoning behind using the dirac delta approximation for the point source rather than just setting the initial condition to the source concentration/density as u0(x==0) = initial condition?

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by