The Smoluchowski diffusion equation is a special case of the Fokker–Plank equation. Both equations can be modeled with a conservative mass transport equation:
∂c(t,x)
∂t
+
masstransportmodel
︷
∇·(-d∇c(x)+βF(x))
=0
Set up the mass transport model variables
vars
:
In[1]:=
vars={c[t,x],t,{x}};
Set up a line domain with a width of 8 units:
In[2]:=
Ω=Line[{{-8},{8}}];
Specify the model parameters species diffusivity
d
and a migration term that depends on a linear potential