chebop2

32 views
Skip to first unread message

Nicolae Suciu

unread,
Mar 30, 2026, 4:48:55 AM (6 days ago) Mar 30
to chebfun-users
Hello everybody,
I tried to test Example 2 from the article [A.Townsend,S.Olver/JournalofComputationalPhysics 299 (2015) 106–123]:
N=chebop2(@(x,y,u)lap(u)+(x.^2+(y+1).^2).*sin(x.*(y+1)).^2.*u);
N.lbc=@(y)cos(cos(-y-1));N.rbc=@(y)cos(cos(y+1));
N.dbc=@(x)cos(cos(-x-1));N.ubc=@(x)cos(cos(x+1));
f=chebfun2(@(x,y)(x.^2+(y+1).^2).*cos(x.*(y+1)).*sin(cos(x.*(y+1))));
u=N\f;
When I run the code I get the following error message:
"Error using chebop2.denseSolve (line 90)
Solution was unresolved on a 65 by 65 grid."
I encountered the same problem trying to solve similar linear PDEs.
Does anybody have any idea how to overcome this issue?
Reply all
Reply to author
Forward
0 new messages