# Render user data on an unstructured grid

**URL:** https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973
**Category:** ParaView Support
**Created:** [July 28, 2020, 1:17pm UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973 "2020-07-28T13:17:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [July 28, 2020, 1:17pm UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973/1 "2020-07-28T13:17:08Z")

</div>

Please help how to render external user data on an unstructured grid (i.e. using colored surfaces as usual represent deformation, stress, velocity etc.)

I imported the model into Paraview from another program, so I have an unstructured grid with cells and points data. Cells data (stress, strain) is rendered correctly. I also prepared external data in such a way that each cell corresponds to an external user value

From previous discussions it is clear how to transfer user data to the Pipeline Browser from Python Shell ([Plotting data computed in python shell](https://discourse.paraview.org/t/plotting-data-computed-in-python-shell/4771)) or from CSV file ([Supplementing cells data with an additional column with the user values](https://discourse.paraview.org/t/supplementing-cells-data-with-an-additional-column-with-the-user-values/4829))

But how do I render the data on my unstructured grid? I transferred the data to the Pipeline Browser, and applied filters TableToPoints --\> Tetrahedralize --\> PointDataToCellData. But after appending the attributes, the data continue rendering separately from the target model. The imported data looks like this (as I understand it, external data is attached to the cells created by the Tetrahedralize filter)

 ![ParaView](https://discourse.paraview.org/uploads/default/original/2X/a/a4af939a9e7de97b3255e819f8404e1a43bba43f.png)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 4, 2020, 12:14pm UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973/2 "2020-08-04T12:14:03Z")

</div>

The data is not separate, you can color using userData now.

---

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [August 5, 2020, 9:28am UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973/3 "2020-08-05T09:28:19Z")

</div>

But how do I make the additional user data appear on the original model. I see that user data are displayed separately on an artificially created additional model (representing a line of cells where the coordinates x,y,z are equal to the userData value). I see the following in the program

 ![1](https://discourse.paraview.org/uploads/default/original/2X/e/ef8374cdc8a4884c9b92ba4a2f3ce068d969155d.png)

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [August 5, 2020, 11:01am UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973/4 "2020-08-05T11:01:29Z")

</div>

I think what is confusing us is that the `Append Attributes` filter should let you do what you want. What is probably the problem is that `Append Attributes` uses the “first” input for the geometry and only grabs the fields from subsequent inputs. So, when adding the `Append Attributes`, you first have to select the data from your pvd file, then select the data generated from your python script, and then add the `Append Attributes` filter.

---

<div class="post-metadata">

### Author: ![Andrei](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@Andrei](https://discourse.paraview.org/u/Andrei)
#### Post date: [August 5, 2020, 12:25pm UTC](https://discourse.paraview.org/t/render-user-data-on-an-unstructured-grid/4973/5 "2020-08-05T12:25:57Z")

</div>

Many thanks for the help! The problem was really the double use of the `Append Attributes` filter
