CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Transform coordinates, Rectangular - Polar (https://www.cfd-online.com/Forums/tecplot/166943-transform-coordinates-rectangular-polar.html)

hernanrmz February 19, 2016 17:14

Transform coordinates, Rectangular - Polar
 
Hello!

I was using the 2009 version and use a feature called "Transform coordinate" to transform my Rectangular domain into Polar.
Now, I change to the 2016 version and I can't find this feature.

This feature was in "Data/Alter" menu, but in the new version is not here.

Anyone knows where I can find this feature?

http://www.subeimagenes.com/img/cordenadas-1643673.html

Best regards

JMcGarry February 22, 2016 12:06

Hello Hernan,

The Transform Coordinates tool is among those not present in the UI for Tecplot 360 EX, but is still possible to use via the macro language. Below is an example to change from rectangular to polar coordinates (copy into a text editor and save it as a .mcr file):

#!MC 1400

$!TRANSFORMCOORDINATES
TRANSFORMATION = RECTTOPOLAR
ANGLESPEC = RADIANS
CREATENEWVARIABLES = YES
XVAR = 1
YVAR = 2




Regards,

Jared McGarry
Tecplot Technical Support Specialist

mksajib March 20, 2023 13:35

Quote:

Originally Posted by JMcGarry (Post 586317)
Hello Hernan,

The Transform Coordinates tool is among those not present in the UI for Tecplot 360 EX, but is still possible to use via the macro language. Below is an example to change from rectangular to polar coordinates (copy into a text editor and save it as a .mcr file):

#!MC 1400

$!TRANSFORMCOORDINATES
TRANSFORMATION = RECTTOPOLAR
ANGLESPEC = RADIANS
CREATENEWVARIABLES = YES
XVAR = 1
YVAR = 2




Regards,

Jared McGarry
Tecplot Technical Support Specialist

Hello there, Thank you for sharing it. However, is it possible to know how can I plot in degrees? I have tried writing DEGREES instead of RADIANS, but it does not work. Do you have any clue why and how to plot in degrees? TIA

JMcGarry March 20, 2023 18:02

Hello mksajib,

What is the issue you are encountering when you change ANGLESPEC = from RADIANS to DEGREES? Is there an error message?

If you have a license, please contact us at support@tecplot.com

Thank you,

Jared
Tecplot Account Manager


All times are GMT -4. The time now is 11:50.