Export pde solution out of matlab

5 visualizaciones (últimos 30 días)
Lalson Vincent
Lalson Vincent el 10 de Mzo. de 2020
Comentada: Lalson Vincent el 11 de Mzo. de 2020
Is there a way to export the pde solution out of matlab. I have solved a electrostatic problem using matlab solvepde. I want to export the solution outside matlab in pvd file format(pvd file format is readable in paraview)
Is it possible ?

Respuesta aceptada

Ravi Kumar
Ravi Kumar el 10 de Mzo. de 2020
Hi Lalson,
Solution is availble as a matrix in NodalSolution property of the result object obtained using solvepde. You may need to write a short script that takes NodalSolution, Mesh, (and gradients, if needed) and write a script that writes pvd format file, say using fprintf.
Regards,
Ravi
  1 comentario
Lalson Vincent
Lalson Vincent el 11 de Mzo. de 2020
Thanks, I will workout a script for exporting data out of matlab.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by