Export pde solution out of matlab

5 ビュー (過去 30 日間)
Lalson Vincent
Lalson Vincent 2020 年 3 月 10 日
コメント済み: Lalson Vincent 2020 年 3 月 11 日
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 ?

採用された回答

Ravi Kumar
Ravi Kumar 2020 年 3 月 10 日
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 件のコメント
Lalson Vincent
Lalson Vincent 2020 年 3 月 11 日
Thanks, I will workout a script for exporting data out of matlab.

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

その他の回答 (0 件)

カテゴリ

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