Adding multiple cylinders into the same model PDE Toolbox
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I am trying to construct a 3D model for electrical analysis later. I have 3 cylinders and 1 hollow cylinders.
When I am trying to make all of them into one model, I encountered the following error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1218467/image.png)
which correspond to this line:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1218472/image.png)
May I know how to add all my shapes into the same model?
Thank you!!
Here is my code:
Building the base Stratum Corneum and Variable Skin
SC3d = multicylinder(basesize,hSC) %create SC
VS3d = multicylinder(basesize,hVS, "Zoffset",-hVS) %create VS
Sense3d = multicylinder(R1, hEL, "Zoffset",hSC) %create sensor
Inject3d = multicylinder([R1+R2 R3], hEL, "Zoffset", hSC) %create inject
model = createpde
model.Geometry = SC3d + VS3d
pdegplot(model,"CellLabels","on","FaceAlpha",0.5)
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!