Comparison of Matlab figures and Paraview screenshots in a Matlab subfigure

3 次查看(过去 30 天)
Hi,
I want to compare my results of Matlab with the results of OpenFoam shown in Paraview. The question is the following: how can I save the results of Paraview in an appropriate format readable for Matlab ? In that possible ? I want to make a subplot figure comparing both. So, is there any command to tight axis for the results of paraview ?
The very simple answer that comes to my mind is to make a screenshot of paraview results and resize the image to the size of its counterpart in Matlab. But how to resize and what format to consider for the screenshop to make it one of the subplot of a matlab figure is the big question.
Thanks for your help,
Mary
  1 个评论
Mario Malic
Mario Malic 2020-9-24
It's a bit hard to compare two simulations with screenshots, as plot options are going to be different on both softwares.
If your discretizations are the same, you could export results (values for pressure/velocity or whatever for all cells/volumes) in .csv (I believe it's possible, I have not used ParaView, also, I heard about .vtk format, maybe you should take a look at it as well) and then plot them in MATLAB.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by