I would like to refine a 2D mesh in the pde toolbox using the "new" flow. I am basically looking for the new version of the old function "refinemesh"
조회 수: 2 (최근 30일)
이전 댓글 표시
I would like to refine a 2D mesh in the pde toolbox using the "new" flow. I am basically looking for the new version of the old function "refinemesh"
댓글 수: 1
Mahmoud Abdullah
2024년 7월 21일
Hi, Devin
I still ask the same question. Now, if you have any answer for your question, please provide us.
답변 (1개)
Alan Weiss
2016년 6월 16일
Sorry, the new way to do it is to construct an entirely new mesh using generateMesh using a smaller Hmax value. It is indeed different than using refinemesh, but I believe that it should work as well.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 3
Alan Weiss
2016년 6월 17일
Indeed, this doesn't seem straightforward. You can extract the mesh using meshToPet, then use refinemesh as you like. But your PDEModel object will no longer contain the mesh, so you would have to use the older workflow from there on.
Alan Weiss
MATLAB mathematical toolbox documentation
Paul Safier
2020년 4월 14일
What if you want to refine the mesh in only one direction? I have a 3D cube and I want a finer mesh in only the z-direction. Can I do this and solve with the PDE Toolbox?
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!