Exporting PDE toolbox solutions

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?

Respuestas (2)

Ivan
Ivan el 25 de Jun. de 2012

0 votos

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 comentario

Florian Baumgartner
Florian Baumgartner el 4 de Ag. de 2015
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?

Iniciar sesión para comentar.

Alan Weiss
Alan Weiss el 5 de Ag. de 2015

0 votos

Alan Weiss
MATLAB mathematical toolbox documentation

Etiquetas

Preguntada:

el 25 de En. de 2011

Comentada:

el 13 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by