Filter löschen
Filter löschen

Boundary Conditions in PDE MODEL

3 Ansichten (letzte 30 Tage)
Pavel M
Pavel M am 13 Jun. 2019
Kommentiert: Torsten am 13 Jun. 2019
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(this square is sum of little squares: R1+R2+R3+R4)
but applyBoundaryCondition dont specify Edge 12, 11, 10 ,9 boundary condition u=0.
It is, what i get
Снимок8.jpg
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 Kommentar
Torsten
Torsten am 13 Jun. 2019
You can't specify boundary conditions at internal boundaries.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by