# Segmentation fault when computing vorticity

**URL:** https://discourse.paraview.org/t/segmentation-fault-when-computing-vorticity/15798
**Category:** ParaView Support
**Created:** [November 27, 2024, 3:24pm UTC](https://discourse.paraview.org/t/segmentation-fault-when-computing-vorticity/15798 "2024-11-27T15:24:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sheng\_chen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sheng_chen/32/13708_2.png) [@sheng\_chen](https://discourse.paraview.org/u/sheng_chen)
#### Post date: [November 27, 2024, 3:24pm UTC](https://discourse.paraview.org/t/segmentation-fault-when-computing-vorticity/15798/1 "2024-11-27T15:24:29Z")

</div>

Hello, I am running into an issue with computing vorticity using the Gradients function. I have an unstructured dataset with velocity field, and I am trying to computer the vorticity and Q-criterion. However, when I use the Gradient() function to do so, it causes a segmentation fault.

What could be the problem?

---

<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: [November 27, 2024, 4:27pm UTC](https://discourse.paraview.org/t/segmentation-fault-when-computing-vorticity/15798/2 "2024-11-27T16:27:19Z")

</div>

Hi @sheng_chen

Please share your data.

Best,
