how do divide like this picture by code matlab?
이전 댓글 표시

댓글 수: 3
Vuong
2024년 12월 23일
Walter Roberson
2024년 12월 23일
Note the reference in the comments there to third party FEA Toolbox (which appears to be a license product)
답변 (1개)
Hi @Vuong
gm = fegeometry(@lshapeg);
gm = generateMesh(gm);
pdemesh(gm)
댓글 수: 5
Vuong
2024년 12월 18일
Vuong
2024년 12월 20일
Hi @Vuong
Another option is to use the FEATool Multiphysics toolbox. A license is required for purchase, but discounted academic pricing is available for accredited degree-granting institutions.
Alternatively, you may consider creating your own quadrilateral meshes using various techniques at your disposal. One approach is to utilize Delaunay triangulation; as you may know, if two triangles share a common side and their other vertices are not collinear, the combined figure forms a quadrilateral.
The rest is to find a MATLAB clever way to "remove" the display of the shared common sides.
P = rand([5 2]);
DT = delaunayTriangulation(P)
IC = incenter(DT);
triplot(DT)
hold on
plot(IC(:,1), IC(:,2), '*r'), grid on
카테고리
도움말 센터 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


