Solving PDE using pde modeler

I'm trying to solve this PDE using pde modeler. I can't find any PDE mode that works with my equation, so what should I do to customize the PDE to solve my equation?

Answers (1)

Use: meshgrid() and del2()

3 Comments

But if I'm not mistaken, del2 is for Laplacian, while my formula doesn't have Laplacian. Or am I wrong?
Yes, you are right that del2 is Laplacian. Now I see your eqn is 1st order that I overlooked. With the given BCs, you can employ Gauss-Siedl method.
I don't think it's 1st order too. We have gradient in the beginning then divergence in the end, so I think it's 2nd order.

Sign in to comment.

Tags

Asked:

on 20 Nov 2021

Commented:

on 21 Nov 2021

Community Treasure Hunt

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

Start Hunting!