How to set boundary conditions?

조회 수: 5 (최근 30일)
Aimi Oguri
Aimi Oguri 2020년 1월 14일
댓글: Aimi Oguri 2020년 1월 15일
I solve 2D heat equation.
I want to set the Dirichlet boundary condition and the Neumann boundary condition alternately and very finely on edge of ellipse like this figure.
Specifically, I want to set 100 Dirichlet boundary conditions and 100 Neumann boundary conditions alternately in each of region(E1,E2,E3,E4).
What should I write program?

채택된 답변

Ravi Kumar
Ravi Kumar 2020년 1월 15일
If you are using PDE Toolbox, then you have to create all those edges, and then you would be able to do it. Refer to the documentation, decsg. You need to create the gd matrix will all the edges you want.
But my question is, why do you need to model such interlaced BCs?
Regards,
Ravi
  댓글 수: 1
Aimi Oguri
Aimi Oguri 2020년 1월 15일
Thank you for your reply.
Because I want to analyze cell channel distribution.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by