Cone generateMesh uniform mesh
Ältere Kommentare anzeigen
Hi,
I have a conic frustrum in the form of an stl file. I am using generateMesh (as in the Matlab product toolbox which uses PDEs).
I have the following code: where ConeFrut48 is the stl file name.
model = createpde(1);
importGeometry(model,'ConeFrust48.stl');
generateMesh(model,'Hmax',1);
pdeplot3D(model)
And it gives the following mesh:

This is a mesh where most of the elements are equilateral triangles of side length 1mm, which is what I want. However there is a region on the right side of the frustrum where the triangular elements are no longer equilateral but are skewed. I need the entire body to be uniform equilateral. I am new to using this toolbox, is there a way to make it uniform everywhere? Perhaps there is a way to make this structured?
Thanks and kind regards,
Sabrina
1 Kommentar
Chunru
am 1 Sep. 2022
Generally speaking, it is not possible to have absolutely uniform equailateral triangularization for an arbitrary geometry. Many mesh grid generation algorithma somehow generate as uniform as possible grids. That is what you have obtained from generateMesh.
Antworten (0)
Kategorien
Mehr zu Geometry and Mesh finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!