Change PDE Solver parameter to Jacobian Lumped

Hello,
I am writing a code to resolve a nonlinear system by 4 equations (convection system) and the error: "Stepsize too small" happened. I read that if you change the solver parameter in PDE Toolbox to jacobian lumped it will work, but I need change programatically.How I can do it? Please.
Att.

 Accepted Answer

For 2-D nonlinear problems you can use the pdenonlin solver with the Jacobian name-value pair set to 'lumped'.
Alan Weiss
MATLAB mathematical toolbox documentation

1 Comment

What if we use solvepde , there is no option in solvepde? because I have to convert every thing to Legacy workflow if I use pdenonlin.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!