# Symmetric tensor in exodus II file

**URL:** https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826
**Category:** ParaView Support
**Tags:** exodus
**Created:** [December 2, 2024, 8:29pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826 "2024-12-02T20:29:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Renato\_E\_Poli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renato_e_poli/32/14656_2.png) [@Renato\_E\_Poli](https://discourse.paraview.org/u/Renato_E_Poli)
#### Post date: [December 2, 2024, 8:29pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/1 "2024-12-02T20:29:40Z")

</div>

Hi

I am trying to output a tensor from libmesh into an Exodus file.  
I think I set the right ordering (XX-YY-ZZ-XY-XZ-YZ) but Paraview (v. 5.13.1) is not collapsing it in a single variable.

These are the vars:  
“sigEFFXX”, “sigEFFYY”, “sigEFFZZ”, “sigEFFXY”, “sigEFFXZ”, “sigEFFYZ”

I believe the same used to work in earlier versions.

Any idea on how I can debug this issue?

---

<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 3, 2024, 7:53am UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/2 "2024-12-03T07:53:39Z")

</div>

Hi @Renato_E_Poli

> [@Renato\_E\_Poli](#):
>
> I believe the same used to work in earlier versions.

I’m afraid I doubt that.

> Any idea on how I can debug this issue?

Please share your data.

---

<div class="post-metadata">

### Author: ![Renato\_E\_Poli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renato_e_poli/32/14656_2.png) [@Renato\_E\_Poli](https://discourse.paraview.org/u/Renato_E_Poli)
#### Post date: [December 3, 2024, 1:44pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/3 "2024-12-03T13:44:04Z")

</div>

Here you go.

This is the list of variables out of a netCDF dump.

name\_nod\_var = “SIGN”, “SIGS”, “NORMALX”, “NORMALY”, “NORMALZ”, “AN”, “AS”, “AT”, “DN”, “deltaDN”, “U\_dbgX”, “U\_dbgY”, “U\_dbgZ”, “P\_dbg”, “T\_gradX”, “T\_gradY”, “T\_gradZ”, “UX”, “UY”, “UZ”, “P”, “sigEFFXX”, “sigEFFYY”, “sigEFFZZ”, “sigEFFXY”, “sigEFFXZ”, “sigEFFYZ”, “Epsilon”, “Zeta”, “vonMises”, “sigTOTXX”, “sigTOTYY”, “sigTOTZZ”, “sigTOTXY”, “sigTOTXZ”, “sigTOTYZ”, “sigTERXX”, “sigTERYY”, “sigTERZZ”, “sigTERXY”, “sigTERXZ”, “sigTERYZ”, “S1X”, “S1Y”, “S1Z”, “T”

[example-RP.e](https://discourse.paraview.org/uploads/short-url/cbrXll1cy6d12SMiiufXTvkboyK.e) (3.6 MB)

---

<div class="post-metadata">

### Author: ![Renato\_E\_Poli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renato_e_poli/32/14656_2.png) [@Renato\_E\_Poli](https://discourse.paraview.org/u/Renato_E_Poli)
#### Post date: [December 3, 2024, 1:48pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/4 "2024-12-03T13:48:30Z")

</div>

Note: in the above list, NORMAL{X,Y,Z}, U{X,Y,Z}, U\_dbg{X,Y,Z}, T\_grad{X,Y,Z} etc. are properly interpreted as a vector. However, S1{X,Y,Z} and the tensor variables are not. I cannot figure out why.

---

<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 3, 2024, 3:30pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/5 "2024-12-03T15:30:10Z")

</div>

Indeed, I confirm that the new IOSS exodus reader does not support tensors yet.

You can use the legacy reader by loading the plugin:

- Tools → ManagePlugins
- Load “LegacyExodusReader”
- File → Open → your file
- Select “LegacyExodusReader”

---

<div class="post-metadata">

### Author: ![Renato\_E\_Poli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renato_e_poli/32/14656_2.png) [@Renato\_E\_Poli](https://discourse.paraview.org/u/Renato_E_Poli)
#### Post date: [December 3, 2024, 3:43pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/6 "2024-12-03T15:43:35Z")

</div>

Thank you. Any chance of automating that via command line or saved state?

---

<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 3, 2024, 4:20pm UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/7 "2024-12-03T16:20:43Z")

</div>

Sure: `./bin/paraview --plugins=LegacyExodusReader`

---

<div class="post-metadata">

### Author: ![Renato\_E\_Poli](https://discourse.paraview.org/user_avatar/discourse.paraview.org/renato_e_poli/32/14656_2.png) [@Renato\_E\_Poli](https://discourse.paraview.org/u/Renato_E_Poli)
#### Post date: [December 4, 2024, 1:33am UTC](https://discourse.paraview.org/t/symmetric-tensor-in-exodus-ii-file/15826/8 "2024-12-04T01:33:35Z")

</div>

Thank you!
