Matlab pdepe diffusion help!!

조회 수: 1 (최근 30일)
Peiwen Lau
Peiwen Lau 2013년 3월 11일
댓글: Muhammad Usman 2015년 5월 14일
Hi everyone. I'm new to Matlab. Could you please help me out with this? Your help will be very much appreciated.
I tried to define the following: d [u(1)]/dt = f( d[u(1)]/dx ) d [u(2)]/dt = f( d[u(1)]/dx )
d [u(2)]/dt is a function of d[u(1)]/dx, so I defined this in @pdexpde: d [u(2)]/dt] = constant * d[u(1)]/dt
But this takes forever to complete the run in pdepe. Could you please point out where the problem is?
Thank you very much.
regards, pw
  댓글 수: 1
Muhammad Usman
Muhammad Usman 2015년 5월 14일
What I understand is that in your case u(2) is not an independent variable.
You might want to try: d [u(1)]/dt = f( d[u(1)]/dx ) d [constant*u(1)]/dt = f( d[u(1)]/dx )

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Reporting and Database Access에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by