Exporting PDE toolbox solutions

88 ビュー (過去 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?
  1 件のコメント
Irla Mantilla
Irla Mantilla 2023 年 3 月 13 日
Muy interesante

サインインしてコメントする。

回答 (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 Center および File ExchangeGeneral PDEs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by