vt33

4 Reputation

2 Badges

14 years, 14 days

MaplePrimes Activity


These are questions asked by vt33

I am not able to numerically solve a non-linear PDE using "pdsolve". The problem seem to be arising due to non-linearity in the PDE. Once I remove the non-linearity (by removing a partial derivative in X below), the error goes away. The code and the error are included below: X:= Q(t,r)/(Q(t,r)+(0.75*diff(Q(t,r),r))); PDE:=diff(Q(t,r),t)+X*(diff(Q(t,r),r)*1.5*(0.03-r))+Q(t,r)*r=0; IBC:={Q(1,r)=0.01*r,Q(t,1)=10*(exp(1-t)-0.999),Q(t,0)=(exp(1-t)-1)}; ANS:=pdsolve(PDE,IBC,numeric,time=t,range=0..1,method=Box); Error, (in pdsolve/numeric/process_PDEs) selecting function must return true or false
Page 1 of 1