Hi Laryssa,

Thanks for your reply.
Yes, I use Paraview for postprocessing. 
However, apparently It does not support the Vector-graphic images in the 
recent versions.

Bests,
Masoud

On Thursday 14 December 2023 at 19:08:26 UTC la.a...@gmail.com wrote:

> Hey Masoud, 
>
> You can open vtk and vtu files using Paraview and export them using 
> "Export Scene". You can find more information here: 
> https://www.paraview.org/Wiki/ParaView/Vector_Graphics_Export
>
> I hope this helps, 
> Laryssa
> On Wednesday, December 13, 2023 at 7:36:06 PM UTC-5 masou...@gmail.com 
> wrote:
>
>> @WB
>>
>> Thanks for the reply.
>> I meant the mesh with the results. Yes, GridOut works perfectly for just 
>> mesh, but I want to show the solution too.
>> Yes, I have already tried and can confirm that it is not fun work as you 
>> said.
>>
>> @Marc
>> Thanks for the links, I will give them a try.
>> I had seen the second link, but the problem was with the higher-order 
>> nodes.
>>
>> Regards,
>> Masoud
>> On Wednesday 13 December 2023 at 21:39:05 UTC mafe...@gmail.com wrote:
>>
>>> On Tuesday, December 12, 2023 at 6:39:31 AM UTC-7 masou...@gmail.com 
>>> wrote:
>>>
>>> I also tried to write a Python code for this purpose using vtk and 
>>> matplotlib libraries. It works almost fine, but when I want to plot the 
>>> mesh too, there are problems.
>>>
>>> A while ago I used matplotlib to create vector graphics out of VTK 
>>> files. As a reference I used this resource:
>>> https://perso.univ-rennes1.fr/pierre.navaro/read-vtk-with-python.html
>>>  
>>>
>>> I used Triangulation from matplotlib.tri, but it only supports triangles 
>>> mesh, while my mesh type is quadrilaterals.
>>>
>>> Workarounds exist for this, see:
>>>
>>> https://stackoverflow.com/questions/52202014/how-can-i-plot-2d-fem-results-using-matplotlib
>>>  
>>> Hope this helps!
>>> Marc
>>>
>>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/66dc5ef9-e52a-45d0-b1b6-099c04f6926fn%40googlegroups.com.

Reply via email to