USing BVP solver to solve 2-D Laplace’s equation?

조회 수: 9 (최근 30일)
Willim
Willim 2019년 4월 9일
댓글: Torsten 2019년 4월 11일
I have confusion about how to use the bvp solver to solve the 2-D Laplace’s equation (∇2u=∂2u∂x2+∂2u∂y2=0) with in a boundary (rectangular). Could anyone help or provide any website that can help to impement it ?
Thank you in advance.
  댓글 수: 2
Torsten
Torsten 2019년 4월 10일
What bvp solver do you mean ?
Willim
Willim 2019년 4월 10일
either bvpc4 or bvpc5

댓글을 달려면 로그인하십시오.

답변 (1개)

David Wilson
David Wilson 2019년 4월 10일
If you mean bvp4c, then no it is not suitable since it solves boundary value ODEs in 1D, not PDEs in 2D. To solve Laplace's eqn in 2D, the easiest way is to use a finite difference grid. See https://au.mathworks.com/help/matlab/math/finite-difference-laplacian.html for more details.
  댓글 수: 2
Willim
Willim 2019년 4월 10일
Thank you for you answer. I think there is some way. one way is to trun the PDE to ODEs then solve each one seprately. However, I would like to know if there is a way to do it either as 2-d or seprated ODEs
Torsten
Torsten 2019년 4월 11일
Approximate the partial derivatives by difference quotients and solve the resulting system of linear equations in the node values using "backslash" or an iterative method:
https://www.mps.mpg.de/phd/numerical-integration-partial-differential-equations-stationary-problems-elliptic-pde

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Boundary Value Problems에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by