# Possibility of ignoring NaN values in L2\_NORM\_RANGE

**URL:** https://discourse.paraview.org/t/possibility-of-ignoring-nan-values-in-l2-norm-range/12854
**Category:** ParaView Support
**Created:** [September 13, 2023, 4:40pm UTC](https://discourse.paraview.org/t/possibility-of-ignoring-nan-values-in-l2-norm-range/12854 "2023-09-13T16:40:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GregVernon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gregvernon/32/1494_2.png) [@GregVernon](https://discourse.paraview.org/u/GregVernon)
#### Post date: [September 13, 2023, 4:40pm UTC](https://discourse.paraview.org/t/possibility-of-ignoring-nan-values-in-l2-norm-range/12854/1 "2023-09-13T16:40:04Z")

</div>

We have an issue where opening a file that has `NaN` values in it (see attached) will pop-up errors for `L2_NORM_RANGE`.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/5/5810d208a306792f2a16196a3d3c9d22d1062123.png)

The `NaN`s are “real” – in the attached files they arise in the `stress -> triaxiality` variable. From Wikipedia:

> In continuum mechanics, stress triaxiality is the relative degree of hydrostatic stress in a given stress state. It is often used as a triaxiality factor, T.F, which is the ratio of the hydrostatic stress to the von Mises equivalent stress:
> 
> ![image](https://discourse.paraview.org/uploads/default/original/2X/8/8cc0dd8c5030dcededb6cfbf058c6ea34904e839.png)

So, at an initial state, where there are no stresses at all you have `0/0`, but you can also have stresses but have a hydrostatic stress state: `stress_hydrostatic / 0`. So, what I’m wondering is whether there’s something we can do (a best practice?) to ignore the `NaN` values when ParaView computes the `L2_NORM_RANGE` – or otherwise ignore this error?

[https://transfer.coreform.com/goUQpl/results.zip](https://transfer.coreform.com/goUQpl/results.zip) (7MB, can’t upload to Discourse since \>4MB)
