MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Imposing boundary condition at infinity

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102548] Re: Imposing boundary condition at infinity
  • From: YH Tung <b942030053 at student.nsysu.edu.tw>
  • Date: Thu, 13 Aug 2009 03:21:32 -0400 (EDT)

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



  • Prev by Date: How to get plot Exclusions for a numerical function?
  • Next by Date: Re: Re: Dynamically create array and display data
  • Previous by thread: Re: How to get plot Exclusions for a numerical function?
  • Next by thread: Re: Imposing boundary condition at infinity