Partial Differential Equation Toolbox
1 view (last 30 days)
Show older comments
Dmitrij Soldatenko
on 31 Mar 2019
Commented: Bosnian Kingdom
on 2 Jun 2019
Help please, I need to solve this differential equation in Matlab (where "a" is a constant parameter, it can be taken by any), I wanted to use the Partial Differential Equation Toolbox, but I ran into a problem, the elliptic equation in this Toolbox is represented in a vector form, namely -div(c*grad(u))+a*u=f.
Please help me convert my equation to this form and tell me how it can be done or at least name the sources of information from which I can learn this knowledge.
I really need to solve this equation in Matlab,so please tell me how it can be done.
2 Comments
Torsten
on 1 Apr 2019
What is the domain where you want to solve the equation and what are the boundary and initial conditions ?
Accepted Answer
Torsten
on 2 Apr 2019
Edited: Torsten
on 2 Apr 2019
Take
c = [- x, x - y ; - ( x - y ), - y]
Then
-div(c*grad(u)) = x * d^2u/dx^2 + y * d^2u/dy^2
Section 2-62 in
http://www.cmap.polytechnique.fr/~jingrebeccali/frenchvietnammaster2_files/2017/pdetool_doc
2 Comments
Bosnian Kingdom
on 2 Jun 2019
Can you put you code here or can you send me on e-mail or private message? I really need example of pde solution.
Thanks in advance.
More Answers (0)
See Also
Categories
Find more on PDE Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!