MathGroup Archive 2009

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

Search the Archive

boundary condition


Hi friends, could anyone there tell me what's wrong with the following setup
Clear[s]
e = 0.001; k = 1; a = 0.1;
pde = {0 == e*(D[u[x, y], x, x] + D[u[x, y], y, y])};
bc = {u[x, 0] == u[x, 2*Pi], u[1, y] == u[2, y], \!\(
\*SubscriptBox[\(\[PartialD]\), \({x, 1}\)]\(u[x, 0]\)\) == \!\(
\*SubscriptBox[\(\[PartialD]\), \({x, 1}\)]\(u[x, 2*Pi]\)\), \!\(
\*SubscriptBox[\(\[PartialD]\), \({y, 1}\)]\(u[1, y]\)\) == \!\(
\*SubscriptBox[\(\[PartialD]\), \({y, 1}\)]\(u[2, y]\)\)};
s = NDSolve[{pde, bc}, u, {x, 1, 2}, {y, 0, 2*Pi}];


  • Prev by Date: Why is equation set can't solve in Mathematica?
  • Next by Date: Re: second simple problem
  • Previous by thread: Re: boundary condition
  • Next by thread: Re: boundary condition