필터 지우기
필터 지우기

Solve two species coupled linear reaction-functional diffusion

조회 수: 3 (최근 30일)
Isaac
Isaac 2013년 5월 5일
Hi everyone,
I am looking to solve some coupled pdes with neumann zero-flux bc and random ic. Ideally I would like to have a 2d or 3d solution but 1d will suffice for now. The two species involve a functional diffusion model which considers the difference in diffusion between the two species. This difference is then considered by a sigmoidal function to define positive or negative flow. There is also exponential decay of each of the species.
du/dt = - a1*u + 1/(1+exp(a2*d2u/dx2-a3*d2v/dx2)) - 1/2
dv/dt = - a4*v + 1/(1+exp(a5*d2u/dx2-a6*d2v/dx2)) - 1/2
Does anyone know of any off the shelf tools in matlab that can do this? I have the code running in mathematica but it is painfully slow.
Thanks for your help in advance :)

답변 (1개)

Zhang lu
Zhang lu 2013년 5월 5일
편집: Zhang lu 2013년 5월 5일
you can convert the pde function as follow
d2u/dx2=[a5*ln(1/(du/dt+a1*u+1/2)-1)-a2*ln(1/(dv/dt+a1*u+1/2)-1)]/(a2*a6-a3*a5)
d2v/dx2=[a6*ln(1/(du/dt+a1*u+1/2)-1)-a3*ln(1/(dv/dt+a1*u+1/2)-1)]/(a2*a6-a3*a5)
Then, i think you can solve it .
  댓글 수: 3
Zhang lu
Zhang lu 2013년 5월 14일
what is boundary condition ?
Isaac
Isaac 2013년 5월 20일
Hi Zhang,
Sorry for the late reply. I am looking to solve this with zero flux boundary conditions.
Thanks for your help.

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

카테고리

Help CenterFile Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by