Surface generation for material removal after impact of tool

1 回表示 (過去 30 日間)
Muhammad Mubashar saeed
Muhammad Mubashar saeed 2021 年 5 月 22 日
コメント済み: darova 2021 年 5 月 25 日
I want to generate a surface with showing material removal due to tool influence on a particular spot.
First I need to generate a flat rectangular surface then I want show the deviation from flatness due to impact of tool.
During polishing process when tool work on a surface it removes material from the surface of the workpiece. I want to generate such kind of matlab based simulation. My material removal function at tool impact spot is MRR = k*p(x,y)*v
Please help me to generate such kind of simulation. I shall be very gateful to you

採用された回答

darova
darova 2021 年 5 月 23 日
See ths example
clc,clear
[t,r] = meshgrid(0:10:360,0:0.2:5);
[x,y] = pol2cart(t*pi/180,r);
z = sin(r)./r;
z0 = 1; % z start coordinate
r0 = 2; % radius of a tool
for i = 1:9
x0 = -6; % x start coordinate
z0 = z0 - 0.1; % z increment
for j = 1:7
ind = ((x-x0).^2+y.^2 < r0^2) & (z>z0);
z(ind) = z0;
surf(x,y,z)
x0 = x0 + 1;
pause(0.5)
end
end
  3 件のコメント
Muhammad Mubashar saeed
Muhammad Mubashar saeed 2021 年 5 月 23 日
Can you please eleborate it accoding to my Material removal function MRR = k*p(x,y)*v
You may assume values for all of these variables
It will be a great favor from you
Thanks a lot in advance
darova
darova 2021 年 5 月 25 日
Can you explain more about removal function? What is it?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTriangulation Representation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by