plot the deformed shape
显示 更早的评论
Dear all,
I am trying to plot a deformed shape of a 3d object using pdeplot3d, inputing a structured array consisting of ux,uy,uz.
g = pdeplot3D(model,'ColorMapData',structuralresults.Displacement.uy)
The function plots the undeformed shape of the object, however it seems to ignore the 'Deformation' input.
Any ideas of how to deal with this?
采纳的回答
更多回答(1 个)
Balázs Dura-Kovács
2022-6-19
I had a similar issue with pdeplot3D eithor not plotting deformations or plotting unrealistic deformations. Turned out that the issue was that I wasn't using the DeformationScaleFactor parameter, so Matlab just picked something automatically.
This is how to plot the deformed shape properly:
figure
pdeplot3D(model,"Deformation",structuralresults.Displacement,"DeformationScaleFactor",1)
axis equal
axis on
类别
在 帮助中心 和 File Exchange 中查找有关 Structural Mechanics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!