# Problems in generating the von Mises stresses from single stress components

**URL:** https://discourse.paraview.org/t/problems-in-generating-the-von-mises-stresses-from-single-stress-components/13842
**Category:** ParaView Support
**Created:** [February 1, 2024, 1:53pm UTC](https://discourse.paraview.org/t/problems-in-generating-the-von-mises-stresses-from-single-stress-components/13842 "2024-02-01T13:53:43Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [February 1, 2024, 2:44pm UTC](https://discourse.paraview.org/t/problems-in-generating-the-von-mises-stresses-from-single-stress-components/13842/2 "2024-02-01T14:44:09Z")

</div>

The problem is the same as [your last post](https://discourse.paraview.org/t/stresses-from-ansys-rst-are-displayed-as-nan/13836). Your cells are still quadratic hexahedra, and it still has invalid values for all but the 8 values used for linear interpolation. When you applied the `Calculator`, you created a new object, and the `Nonlinear Subdivision Level` parameter got reset to 1. Set it back to 0, and you will probably get what you expected.

 ![Screenshot 2024-02-01 at 9.43.38 AM](https://discourse.paraview.org/uploads/default/original/2X/8/8a0715c7b7b2b3377f0f5bca5b658ae45b8da039.jpeg)

The reason why the output looks different than before (that is, not all NaNs) is that the default behavior of the `Calculator` is to replace invalid values (i.e. NaNs) with a specific value (defaulted to `0`). So you get interpolations with 0 instead of NaN. If you turn on advanced properties and unselect `Replace Invalid Results`, you will find you will get the NaNs in the output. (You will also get some warnings from the `Calculator` filter because it will assume that the NaNs came from a problem with its expression rather than NaNs in the input.

---

_[View the full topic](https://discourse.paraview.org/t/problems-in-generating-the-von-mises-stresses-from-single-stress-components/13842)._
