How do I create of a mesh of complete circle?

16 Ansichten (letzte 30 Tage)
LSHHH
LSHHH am 20 Apr. 2022
Kommentiert: KSSV am 20 Apr. 2022
I want to a mesh of perpect circle.
But, When I create a mesh it is angled.
How do I get a perfectly round mesh?
  4 Kommentare
LSHHH
LSHHH am 20 Apr. 2022
I have no experience using matlab.
I used the basic generate mesh attached below.
KSSV
KSSV am 20 Apr. 2022
You show us what exactly is your domain to be meshed. We can help you.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Riccardo Scorretti
Riccardo Scorretti am 20 Apr. 2022
With Matlab PDE toolbox it is possible to define a circle and mesh it. You can do it by using the GUI, or by issuing the command pdecirc. For instance:
pdecirc(0, 0, 2); % open the modeler and draw a cirle of center (0,0) and radius 2
The nasty point is that (up to my knowledge) it cannot be done programmatically = pdecirc and similar commands open the modeler.
However, in this way (after meshing) I got this image:
Well, indeed I had to set manually the axis and impose axis to be equal (use the menu Options/Axis limits and Optins/Axis equal), but this is not the point. The point is: why do you need such a mesh, and what do you want to do with it. Do you want to solve a FEM problem?
Concerning mesh generation, perhaps it may be worth to look at DistMesh: http://persson.berkeley.edu/distmesh/

Community Treasure Hunt

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

Start Hunting!

Translated by