Help solving this 2d pde

조회 수: 3 (최근 30일)
Clifford
Clifford 2020년 3월 10일
댓글: Clifford 2020년 3월 13일
I'am trying to solve this 2d pde on
note that in the rhs u is evaluated at which we can consider as a deviation
where . I used a uniform discretization and got:
As an example we can take and BC
I don't see how to generate the system of equations and corresponding matrix.
Any help or other method to investigate is appreciated.

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2020년 3월 10일
You are in luck! Matlab provides you with a (rather hidden) method to give you the 2-D Laplacian in matrix form. Have a look at numgrid.
qwe = delsq(numgrid('S',7));
imagesc(full(qwe))
Also have a look at delsqdemo.
For the nonlinear part you might have to look at the different iterative solvers, pcg, qmr, etc (these tools are outside of my commonly used functions...)
HTH
  댓글 수: 1
Clifford
Clifford 2020년 3월 13일
Thanks for your answer...
The l.h.s is linear so we can consider it as where A is a matrix,
the r.h.s is nonlinear, it reads .
Now we have to solve ,
do You think that it will be possible to solve it using matlab fsolve ?
or any more suitable numerical method (Newton method for example) ?

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

카테고리

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

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by