How to solve 2D heat equation for a sector of a circular disc using finite difference method?

조회 수: 11 (최근 30일)
I am starting off with Dirichlet boundaries. How do I generate a sector of a circular mesh ?
  댓글 수: 6
J. Alex Lee
J. Alex Lee 2020년 9월 28일
It's hard to read this code, but are you formulating finite differences in cartesian space, or in cylindrical space?
My suggestion was to formulate the heat equation in cylindrical coordinates and just use a "cartesian" meshgrid in rho-theta space. This may not be so great, because you'll get tiny mesh near center of circle.
Vignesh Ramakrishnan
Vignesh Ramakrishnan 2020년 9월 29일
I have used circular coordinates(for cylindrical, we have a height term, which I have not considered).
I don't have an issue with the mesh circle, but there is an unnecessary groove along theta=0.
The cartesian conversion is done, just prior to plotting.

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

답변 (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