# How to collect the global mesh without writing a file

**URL:** <https://fenicsproject.discourse.group/t/how-to-collect-the-global-mesh-without-writing-a-file/12445>\
**Category:** dolfinx\
**Tags:** mpi, plotting\
**Created:** [October 12, 2023, 5:24pm UTC](https://fenicsproject.discourse.group/t/how-to-collect-the-global-mesh-without-writing-a-file/12445 "2023-10-12T17:24:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@edgar](https://fenicsproject.discourse.group/u/edgar)\
**Post date:** [October 12, 2023, 6:01pm UTC](https://fenicsproject.discourse.group/t/how-to-collect-the-global-mesh-without-writing-a-file/12445/3 "2023-10-12T18:01:12Z")

</div>

It’s mostly to automate visualisation with PyVista. At the moment, I don’t have anything meaningful, but would prefer to generate plots of the whole thing programmatically instead of saving a file and opening it on ParaView. The comment about Gmsh is because the alternative is to save a mesh file, which I want to avoid.

---

_[View the full topic](https://fenicsproject.discourse.group/t/how-to-collect-the-global-mesh-without-writing-a-file/12445)._
