# Gradient of Unstructured Grid using Python

**URL:** https://discourse.vtk.org/t/gradient-of-unstructured-grid-using-python/13606
**Category:** Support
**Tags:** python, code, vtkjs
**Created:** [March 21, 2024, 1:18pm UTC](https://discourse.vtk.org/t/gradient-of-unstructured-grid-using-python/13606 "2024-03-21T13:18:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ak11283](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@ak11283](https://discourse.vtk.org/u/ak11283)
#### Post date: [March 21, 2024, 1:18pm UTC](https://discourse.vtk.org/t/gradient-of-unstructured-grid-using-python/13606/1 "2024-03-21T13:18:30Z")

</div>

Hi All,

From last couple of days I am trying to find derivative of pressure for each direction. The pressure data is on an unstructured grid (curvilinear grid coordinate). I did try to get it many ways but It is not looking perfect in values. I have the data in .mat file and .nc file extension. Can any one please help me to get it right?
