# Visualizing stress on the deformed geometry

**URL:** https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654
**Category:** ParaView Support
**Created:** [September 28, 2018, 5:45pm UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654 "2018-09-28T17:45:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![emkl](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/a5b964/32.png) [@emkl](https://discourse.paraview.org/u/emkl)
#### Post date: [September 28, 2018, 5:45pm UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/1 "2018-09-28T17:45:16Z")

</div>

I have run a large deformation finite element simulation with two output files, “displacement.pvd” and “stress.pvd”. In paraview, it is very clear how to import the displacement file and plot the deformed configuration of the mesh with the “warp by” button. However, I have not been able to figure out how to plot the stress magnitudes as a color directly on the deformed configuration of the mesh.

Are there resources anywhere that explain how to do this? I have looked around but I haven’t found anything that is clear enough to implement.

I am using Paraview 5.6.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 2, 2018, 12:44am UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/2 "2018-10-02T00:44:06Z")

</div>

What is the name of the displacement field? Is that name available in the Color By popup menu?

![image](https://discourse.paraview.org/uploads/default/original/1X/9872a044c59eddae9ccb1ea4ad0bcfd31554d040.jpeg)

That would be the usual route for coloring a surface by a particular data array.

---

<div class="post-metadata">

### Author: ![emkl](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/a5b964/32.png) [@emkl](https://discourse.paraview.org/u/emkl)
#### Post date: [October 2, 2018, 1:07am UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/3 "2018-10-02T01:07:14Z")

</div>

the displacement field is available in the “color by” popup menu, but the stress field is not. Is there a naming convention or something like that to get the stress field to show up?

Thanks so much!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 2, 2018, 1:13am UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/4 "2018-10-02T01:13:03Z")

</div>

I’m going to venture a guess that the stress field is defined in the “stress.pvd” file. Assuming they have the same mesh type and topology, you can combine the data arrays in the data object produced by “displacement.pvd” and “stress.pvd”. Select both sources in the Pipeline Browser (use control-left-click for the second item) and choose the **Append Attributes** filter. This will combine the data arrays in both. Then you can apply the **Warp By** filter and color it by the stress array.

---

<div class="post-metadata">

### Author: ![emkl](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/a5b964/32.png) [@emkl](https://discourse.paraview.org/u/emkl)
#### Post date: [October 2, 2018, 1:17am UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/5 "2018-10-02T01:17:39Z")

</div>

fantastic-- that works perfectly.

Thanks for your time.

---

<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: [December 27, 2021, 9:18am UTC](https://discourse.paraview.org/t/visualizing-stress-on-the-deformed-geometry/654/6 "2021-12-27T09:18:46Z")

</div>

A post was split to a new topic: [Show deformed FEM model](https://discourse.paraview.org/t/show-deformed-fem-model/8699)
