Question: PDE numerical solution; 2d advection pde

hi,
I have the following PDE:

pde:=diff(f(x,p,t),t)+p*diff(f(x,p,t),x)-u(x)*diff(f(x,p,t),p);

where

f(x[min],p,t)=f(x[max],p,t)=0
f(x, p[min],t)=f(x,p[max],t)=0
and
u(x)=x or u(x)=x-x^3
f(x,p,t=0)=exp(-(x-2)^2-p^2).

How can I find a numerical solution for t>0?

Thanks beforehand
Maciej

 
 
 
 
 
 
 
Please Wait...