Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term involving spatial derivative. error
조회 수: 1 (최근 30일)
이전 댓글 표시
my boundries are
a(1)=1 a'(0)=0
b(1)=0 b'(0)=0
the code i used is
function [pl,ql,pr,qr] = pdex4bc(~,ul,~,ur,~)
pl = [0;ul(1)-1];
ql = [1;0];
pr = [0;ur(2)];
qr = [1;0];
but i get this following error
Spatial discretization has failed. Discretization supports only parabolic and elliptic equations, with flux term involving spatial derivative
what is the wrong i did
댓글 수: 3
Torsten
2022년 3월 4일
pl = [0;0];
ql = [1;1];
pr = [ur(1)-1;ur(2)];
qr = [0;0];
sets
a'(0) = 0, b'(0) = 0, a(1) = 1, b(1) = 0
And I think
F1=-9.*phi.^2.*(u(1)./1+u(1)+u(2));
F2=-9.*al.^2.*(u(2)./1+u(1)+u(2));
should read
F1=-9.*phi.^2.*u(1)./(1+u(1)+u(2));
F2=-9.*al.^2.*u(2)./(1+u(1)+u(2));
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 PDE Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!