# Creating multi-material unstructured mesh

**URL:** https://discourse.paraview.org/t/creating-multi-material-unstructured-mesh/3032
**Category:** ParaView Support
**Tags:** python, vtk
**Created:** [November 23, 2019, 3:08pm UTC](https://discourse.paraview.org/t/creating-multi-material-unstructured-mesh/3032 "2019-11-23T15:08:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Juan\_Sanchez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/juan_sanchez/32/2444_2.png) [@Juan\_Sanchez](https://discourse.paraview.org/u/Juan_Sanchez)
#### Post date: [November 23, 2019, 3:08pm UTC](https://discourse.paraview.org/t/creating-multi-material-unstructured-mesh/3032/1 "2019-11-23T15:08:06Z")

</div>

Are there any Python examples available for creating a multi-material unstructured mesh for visualization? I would like to use vtk package for Anaconda Python, but would be open to others, especially something hdf5 based.

Each material region in my structure will have a different set of variables. Scalar variables would be stored on on vertices, and Vector variables would be stored on tetrahedral (3d) or triangle (2d) centers.
