pde 3D POLYGONS

3 views (last 30 days)
jahanzaib ahmad
jahanzaib ahmad on 9 Apr 2019
Commented: jahanzaib ahmad on 9 Apr 2019
i have FIVE 3D polygons in a cube as total 6 models(including cube ) .i want to mesh them as one model .so that the voulme of polygons is not overlapped by the mesh of cube
  1 Comment
jahanzaib ahmad
jahanzaib ahmad on 9 Apr 2019
for i=1:(length(A))
DT3 = delaunayTriangulation(A{i});
[C3,v3]= convexHull(DT3);
nodes=A{i}';
elements=C3';
model(i)=createpde();
geometryFromMesh(model(i),nodes,elements);
end
for j=1:(length(A))
pdegplot(model(j),'FaceLabels','on','FaceAlpha',0.5)
figure(j)
generateMesh(model(j));
hold on
end

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!