# Cartesian Coordinate to Cylindrical Coordinate

**URL:** https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590
**Category:** ParaView Support
**Created:** [December 22, 2023, 4:33pm UTC](https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590 "2023-12-22T16:33:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nithin\_Veerendranath](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nithin_veerendranath/32/13244_2.png) [@Nithin\_Veerendranath](https://discourse.paraview.org/u/Nithin_Veerendranath)
#### Post date: [December 22, 2023, 4:33pm UTC](https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590/1 "2023-12-22T16:33:04Z")

</div>

Hi,

I have my stress tensor data file with (x, y, z) cartesian coordinate system and components as xx, xy, xz, yx, yy and so on the 9 components in it.

Now I want to have it in Cylindrical coordinate system. I have seen that calculator filter can be used for this based on some of the previous discussion.

But can anyone help me with how to actually use it or define the r, theta, and z in it.

Any help is appreciated. Thanks in advance.

---

<div class="post-metadata">

### Author: ![FEngineer](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/5f8ce5/32.png) [@FEngineer](https://discourse.paraview.org/u/FEngineer)
#### Post date: [December 23, 2023, 4:43pm UTC](https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590/2 "2023-12-23T16:43:43Z")

</div>

I covered this here: [https://youtu.be/wRcTD1zSbLU?si=uo7GT7Af7GM0Twkp&t=530](https://youtu.be/wRcTD1zSbLU?si=uo7GT7Af7GM0Twkp&t=530)

There’s also my feature request to add such transformations to ParaView: [Transforming results to user-defined (local) coordinate systems](https://discourse.paraview.org/t/transforming-results-to-user-defined-local-coordinate-systems/9387)

Please like it if you want to upvote this request and make it a bit more likely to be realized.

---

<div class="post-metadata">

### Author: ![Nithin\_Veerendranath](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nithin_veerendranath/32/13244_2.png) [@Nithin\_Veerendranath](https://discourse.paraview.org/u/Nithin_Veerendranath)
#### Post date: [January 3, 2024, 5:37pm UTC](https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590/3 "2024-01-03T17:37:36Z")

</div>

Thanks for your help in this problem.

Yes, your video has covered exactly what was needed.

---

<div class="post-metadata">

### Author: ![Lemon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lemon/32/16166_2.png) [@Lemon](https://discourse.paraview.org/u/Lemon)
#### Post date: [March 15, 2025, 4:15pm UTC](https://discourse.paraview.org/t/cartesian-coordinate-to-cylindrical-coordinate/13590/4 "2025-03-15T16:15:51Z")

</div>

I had a similar need where I wanted to convert from Cartesian coordinates (x, y, z) to spherical coordinates (r, theta, phi).
