Re: Imposing boundary condition at infinity

*To*: mathgroup at smc.vnet.net*Subject*: [mg102558] Re: Imposing boundary condition at infinity*From*: dh <dh at metrohm.com>*Date*: Fri, 14 Aug 2009 05:57:42 -0400 (EDT)*References*: <h60es7$pjh$1@smc.vnet.net>

YH Tung wrote: > Dear Mathgroup: > > Hi, I tried this method to solve nonlinear PDEs(12/20/2005), but there are > still some problems, I couldn't find the general solution. My question is > du/dt = -(1+u)*du/dx,u=0 as x-> +-infinity, u=Exp(-x^2) as t=0. > > My code: > NDSolve[{D[u[x,t], t] == -(1 + u[x, t])*D[u[x, t],x], u[-ini, t] == u[ini, > t] == 0, u[x, 0] == Exp[-x^2]}, u, {x, -.0001, .0001} , {t, -.0001, .0001}, > MaxSteps -> Infinity] > > How can I improve? > > Thanks > Tony > > Hi, you can not numerically solve a DE and give boundary values at infinity. Daniel