How to create 2D Polar (r, theta) mesh?

19 次查看(过去 30 天)
I want to create a 2D polar mesh for finite element analysis of droplet evaporation.
Similar to above image. Please give any suggestion on droplet evaporation also if you know something about it.

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2020-9-21
编辑:Bjorn Gustavsson 2020-9-22
What's not good enough with something like this:
n_phi = 15
phi = linspace(0,pi/2,n_phi+1); % should give you 15+1 edges and 15 angular regions
n_r = 12;
r_min = 1;
r_max = 23;
r = linspace(r_min,r_max,n_r+1);
[Phi,R] = meshgrid(phi,r);
X = R.*cos(Phi);
Y = R.*sin(Phi);
That will give you the radial and angular mesh in R and Phi and their Cartesian coordinates in X and Y.
HTH
  4 个评论
Aman Jaiswal
Aman Jaiswal 2020-9-22
So how can I perform finite element analysis using X and Y vectors you have created? Can you suggest any method in matlab or any tutorial.
Adam Danz
Adam Danz 2020-9-22
I'm sure there are tutorials that Google would find if you searched for it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Multibody Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by