Exporting PDE toolbox solutions

조회 수: 86 (최근 30일)
Tzachi rafaeli
Tzachi rafaeli 2011년 1월 25일
댓글: Irla Mantilla 2023년 3월 13일
I want to export PDE solution (potential over the plan) back to the MATLAB environment and be able to transform it to a solution on a rectangular grid (simple matrix - not the triangle nodes data). How can it be done?

답변 (2개)

Ivan
Ivan 2012년 6월 25일
After solving
1) Export from GUI the mesh (main menu - > Mesh-> Export mesh) ;
2) Export the solution (main menu - > Solve -> Export Solution);
3) define x,y -mesh e.g.:
x=-1:0.01:1;
y=-1:0.01:1;
4) convert to xy-grid and plot the solution:
uxy=tri2grid(p,t,u,x,y);
mesh(x,y,uxy)
  댓글 수: 1
Florian Baumgartner
Florian Baumgartner 2015년 8월 4일
Hey,
I also have a question. Is it possible that Matlab exports the boundary conditions autmatically? So that I dont have to do it manually?

댓글을 달려면 로그인하십시오.


Alan Weiss
Alan Weiss 2015년 8월 5일
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 General PDEs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by