how do divide like this picture by code matlab?

댓글 수: 3

Vuong
Vuong 2024년 12월 23일
thanks. But i don't have the license PDE toolbox
Note the reference in the comments there to third party FEA Toolbox (which appears to be a license product)

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

답변 (1개)

Sam Chak
Sam Chak 2024년 12월 18일
If this is a topic of Finite Element Analysis, then look up generateMesh() and pdemesh().
gm = fegeometry(@lshapeg);
gm = generateMesh(gm);
pdemesh(gm)

댓글 수: 5

Vuong
Vuong 2024년 12월 18일
Thanks. But this is tri element not quad element
Vuong
Vuong 2024년 12월 20일
unstructured quadrilateral grid generation
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)
DT =
delaunayTriangulation with properties: Points: [5x2 double] ConnectivityList: [4x3 double] Constraints: []
IC = incenter(DT);
triplot(DT)
hold on
plot(IC(:,1), IC(:,2), '*r'), grid on
Sam Chak
Sam Chak 2024년 12월 23일
You can possibly get some inspirations and ideas from this working example:
Vuong
Vuong 2024년 12월 26일
편집: Vuong 2024년 12월 26일
I want to divide area base unstructured quadrilateral mesh by codes matlab not addins or app. Quadrilateral not triangles. Like this figure toppic

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

카테고리

태그

질문:

2024년 12월 18일

편집:

2024년 12월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by