From: Torsten Hennig on 11 Aug 2010 05:34 > :) i was just doing that, thank you so much. > I wish i can run this code, otherwise no way i can > solve this equation. i have been trying several > books and articles about "how to solve nonlinear > pdes" last few weeks, but none of them was helpful ( > either i did not understand or the form of equations > were different). > > could you please let me know if you have some other > ideas about error? > > Did you try running the first example under http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pdepe.html Best wishes Torsten. > Thank you, > Burcu
From: Burcu on 11 Aug 2010 10:21 Thank you again. I just want to tell you that I tried all pdepe examples(pdex1pe, pdex2pe, pdex3pe, pdex4pe), all exapmles are working and giving results. and i also checked documentation if i did something wrong. however every thing seems fine, but still gives error. if u have any furher suggestion, please let me know. millions of thanks, Burcu
From: Burcu on 11 Aug 2010 11:03 hi again, this is just a kind of update. i think the error is related with s(x,t,u,dudx) function, since my equation's form includes 2/3*u*(du/dx)^2. is there any know restrictions about s(x,t,u,dudx) ? thank you, burcu
From: Torsten Hennig on 11 Aug 2010 07:05 I'm not familiar with MATLAB syntax, but try this: cozum.m file: %% cozum of the formula function [c,f,s] = cozum(x,t,u,DuDx) c = [1]; f = [DuDx(1)/3]; s = [2/3*u(1)*DuDx(1)^2-2*u(1)/3*t];%+ (b/3*g*t) cozumBC.m file: %% boundary conditions function [pleft,qleft,pright,qright] = cozumBC(xl,ul,xr,ur,t) pleft = [1]; qleft = [0]; pright = [0]; qright = [1]; cozumIC.m file: %% initial conditions function u0 = cozumIC(x) u0 = [1]; %ca/ca0; end
From: Torsten Hennig on 11 Aug 2010 07:15 > hi again, > > this is just a kind of update. > > i think the error is related with s(x,t,u,dudx) > function, since my equation's form includes > 2/3*u*(du/dx)^2. is there any know restrictions > ns about s(x,t,u,dudx) ? > > thank you, > burcu Did you try my version ? Best wishes Torsten.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: emlmex error Next: Adobe Illustrator compatible Fonts for Matlab Plots |