Boundary Conditions in PDE MODEL
3 ビュー (過去 30 日間)
古いコメントを表示
i create PDE model
g is exported from PDE Tololbox
model = createpde;
geometryFromEdges(model,g);
applyBoundaryCondition(model,'dirichlet','Edge',[1 2 3 12 11 10 9 6],'u',0);
pdegplot(model,'EdgeLabels','on')
xlim([-1.2,1.2])
axis equal
generateMesh(model,'Hmax',0.02,'GeometricOrder','Linear');
![Снимок7.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224363/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA7.jpeg)
but applyBoundaryCondition dont specify Edge 12, 11, 10 ,9 boundary condition u=0.
It is, what i get
![Снимок8.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/224364/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA8.jpeg)
Here, Edges 1 2 3 and 6 are equal 0, but 12 11 10 9 are not, but i specify them
applyBoundaryCondition(model,'dirichlet','Edge',[1 2 3 12 11 10 9 6],'u',0);
1 件のコメント
回答 (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!