Export pde solution out of matlab
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lalson Vincent
le 10 Mar 2020
Commenté : Lalson Vincent
le 11 Mar 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 ?
0 commentaires
Réponse acceptée
Ravi Kumar
le 10 Mar 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur General PDEs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!