why does using the Partial Differential Equation (PDE) Toolbox, I get the following error: PDEModel does not have a mesh?
조회 수: 4 (최근 30일)
이전 댓글 표시
model = createpde('thermal');
geo = multicylinder([20,25,35],20,'Void',[1,0,0]);
model.Geometry = geo;
pdeplot(model, 'FaceLabels', 'on')
generateMesh(model);
pdemesh(model)
thermalProperties(model,"Cell",1,"ThermalConductivity",40);
thermalProperties(model,"Cell",2,"ThermalConductivity",0.05);
thermalBC(model,"Face",3,'Temperature',80);
thermalBC(model,"Face",7,'Temperature',4);
result = solve(model);
pdeplot3D(model,'ColorMapData',result.Temperature)
답변 (1개)
Ravi Kumar
2020년 4월 22일
Please use pdegplot, if you want to plot geometry.
pdegplot(model,'FaceLabels','on')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General PDEs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!