Question
Asked 6th Mar, 2017

How to solve laplace equation on rectangle domain with complex mixed boundary conditions?

I have the following Laplace's equation on rectangle with length a and width b (picture is attached):
ΔU(x,y)=0
Ux(0,y)=0    : Isolated boundary
Ux(a,y)=f(y) : Current source
U(x,b)=0      : Zero potential
The fourth boundary is quite complex :  Mixed boundary condition (isolated except in two points)
if x=a/3 or 2a/3
U(x,0)=0
else
Uy(x,0)=0
Is there an analytical way to solve this kind of mixed boundary problem? can someone point me to the right direction? I'm a bit lost
thanks in advance

Most recent answer

Finite difference methods using a discretization on Cartesian Grid (you can choose which type A, B or C Arakawa Grid) -- I think there are few tutorials on youtube
Finite Element methods (weak form) -- https://www.youtube.com/watch?v=U65GK1vVw4o&list=PLJhG_d-Sp_JHKVRhfTgDqbic_4MHpltXZ (really good tutorial with few examples and coding tutorials)
1 Recommendation

All Answers (8)

Stéphane Breton
Digital Surf
Hi Dor,
No turnkey solution, but rather a track to explore...
By converting your rectangle domain in an cartesian grid and implementing a Multigrid Solving Scheme such this one proposed by Guillet et al.: https://arxiv.org/pdf/1104.1703.pdf
Another approach facing with interface discontinuities: https://arxiv.org/pdf/1401.8084.pdf
Regards
Dor Gotleyb
Ben-Gurion University of the Negev
Thank you Stéphane Breton for the quick answer,
I will look into it.
I was wondering whether there is an analytical approach to this problem such as separation of variables (fourier series expansion)? It will save me a lot of time because I need to run this laplace solution for many times.
I came across the robin boundary conditions. Will it help to write it in this way?
a*U+b*du/dy=0
a=δ(x-a/3)+δ(x-2a/3)
b=H(x)*H(a/3- x)+H(x-a/3)*H( 2a/3-x)+H(x-2a/3)* H(a-x)
H->Heaviside step function
δ->Dirac delta function
Dor Gotleyb
Ben-Gurion University of the Negev
thank you very much.
It seems that I have a lot of work to do 
Jan Sikora
Research and Development Center, Netrix S.A and Wyższa Szkoła Ekonomii i Innowacji w Lublinie ul. Projektowa 4 20-209 Lublin
THE ANALYTICAL SOLUTION COULD BE QUITE COMPLEX. BUT TRY TO USE THE FINITE DIFFERENCE METHOD. IT SHOULD WORK QUITE EASILY.
REGARDS
JAN SIKORA
Jos J van Kan
Delft University of Technology
The problem as posed cannot be solved, or rather what you get is different from what you expect. The boundary conditions at (a/3,0) and (2a/3,0) will have no effect.  If you insist on a boundary condition of that kind you should prescribe it on segments with nonzero length. If you doubt this compare (numerical) solutions with these bc's on nonzero segments and let the length of the segment go to 0.
On a different note: forget about an analytical solution of this problem if anything it leads to very slowly convergent Fourier expansions, that will take all eternity to calculate. So Breton's suggestion is an excellent one: discretize and use multigrid. Any old multigrid package will do.
Finite difference methods using a discretization on Cartesian Grid (you can choose which type A, B or C Arakawa Grid) -- I think there are few tutorials on youtube
Finite Element methods (weak form) -- https://www.youtube.com/watch?v=U65GK1vVw4o&list=PLJhG_d-Sp_JHKVRhfTgDqbic_4MHpltXZ (really good tutorial with few examples and coding tutorials)
1 Recommendation

Similar questions and discussions

Related Publications

Article
In this research work, we are solving partial differential equation(PDE'S). Partial differential equation solves through various method Like Analytics method, Numerical Method , Laplace transform and others, In this Paper, we are focusing on solution of Randomly grids, Grids usually called meshes, there is no rule to fixed a mesh, Grids are based o...
Chapter
In this chapter, the authors discuss the three main types of partial differential equations (PDEs) and some important properties. The types are elliptic, parabolic and hyperbolic equations. When dealing with variable coefficients the character of the PDE may switch between these three basic types. The PDEs specified without boundary conditions have...
Article
Full-text available
Differential equation is important in explain the results, which has been applied in science, physics and engineering etc. In this paper, the author study a comparison between finite difference method and Laplace transform for solve the differential equation by The finite difference method using forward differenc backward difference and central dif...
Got a technical question?
Get high-quality answers from experts.