# volSymmTensorFields Magnitude

**URL:** https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617
**Category:** ParaView Support
**Tags:** openfoam
**Created:** [October 23, 2024, 3:09am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617 "2024-10-23T03:09:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Alimea](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@Alimea](https://discourse.paraview.org/u/Alimea)
#### Post date: [October 23, 2024, 3:09am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617/1 "2024-10-23T03:09:40Z")

</div>

Hi  
I found that Paraview calculates a volSymmTensorFields Magnitude via the following relation:

```auto
tau_tot = (tau_xx^2 + tau_yy^2 + tau_zz^2 + tau_xy^2 + tau_xz^2 + tau_yz^2)^0.5

```

However, we know that the correct form of that is:

```auto
tau_tot = (tau_xx^2 + tau_yy^2 + tau_zz^2 + 2*tau_xy^2 + 2*tau_xz^2 + 2*tau_yz^2)^0.5

```

To check you can set the initial values of a volSymmTensorFields as (1 1 1 1 1 1). the mag of this tensor is 3. Now see its magnitude in paraview. You will see that it gives 2.45, not 3!  
Could you please explain the reason?

---

<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: [October 23, 2024, 9:55am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617/2 "2024-10-23T09:55:04Z")

</div>

> [@Alimea](#):
>
> volSymmTensorFields

Which filter compute this `volSymmTensorFields` ?

---

<div class="post-metadata">

### Author: ![Alimea](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@Alimea](https://discourse.paraview.org/u/Alimea)
#### Post date: [October 23, 2024, 10:06am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617/3 "2024-10-23T10:06:52Z")

</div>

> [@Alimea](#):
>
> volSymmTensorFields

Actually, I computed `volSymmTensorFields` in OpenFOAM and I just wanted to see the results in paraView.

---

<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: [October 23, 2024, 10:16am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617/4 "2024-10-23T10:16:17Z")

</div>

ParaView compute the magnitude of any n-component array using the same formula, there is no specific case for symmetric tensors I’m afraid.

You can compute anything you want using the calculator though.

---

<div class="post-metadata">

### Author: ![Alimea](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@Alimea](https://discourse.paraview.org/u/Alimea)
#### Post date: [October 23, 2024, 10:19am UTC](https://discourse.paraview.org/t/volsymmtensorfields-magnitude/15617/5 "2024-10-23T10:19:00Z")

</div>

Yes. I think this is from OpenFOAM nad is not related to paraView.
