boundary condition
- To: mathgroup at smc.vnet.net
- Subject: [mg99682] boundary condition
- From: gntw <bihjenleetw at gmail.com>
- Date: Mon, 11 May 2009 06:23:27 -0400 (EDT)
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}];