solving Laplace's equation
- To: mathgroup at smc.vnet.net
- Subject: [mg25014] solving Laplace's equation
- From: Volker Wagner <Volker.Wagner at epfl.ch>
- Date: Fri, 1 Sep 2000 01:09:46 -0400 (EDT)
- Organization: EPFL
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I have problems solving Laplace's equation in 2-D with a mixture of Dirichlet and Neumann boundary conditions (I am looking for the steady state of the 2-D diffusion equation). The problem is about the following: D[ n[x, y], {x, 2}] + D[ n[x, y], {y, 2}] == 0 with (for example) the boundary conditions D[n[x, y], x]==0 for x= -1 and x=1 n[x, y]==1 for y =1 n[x, y]==0 for (y = 0 and Abs[ x] < 0.5) D[n[x, y], y]==0 for (y = 0 and Abs[ x] > 0.5) Is there a way to set up NDSolve to do this. Or has someone a (numerical) routine that can do this. Any help will be greatly appreciated. Volker Volker.Wagner at EPFL.ch