CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Flatten 3D cylindrical surface to 2D XY plot (https://www.cfd-online.com/Forums/fluent/119962-flatten-3d-cylindrical-surface-2d-xy-plot.html)

aerohead June 27, 2013 10:51

Flatten 3D cylindrical surface to 2D XY plot
 
Hi all. I am currently stuck and wondering if there is a way to take a surface pressure contour plot of e.g. a half cylinder and flatten it to an XY plot, with X=X (cm) and Y=theta (degrees or radians). Alternatively, how would this data be exported to TecPlot to achieve the same goal (or can it be achieved by importing the .cas/.dat data into TecPlot)? Thanks for any help!

Far June 28, 2013 04:21

Fieldview can do this. It has built in fuciton

aerohead June 28, 2013 07:18

Thanks Far, I actually figured it out in TecPlot in the end:

define central point of the cylinder > define a new theta parameter > convert theta to degrees if required - included below in case it can help anyone else out in the future:

{y-centre}={Y}-[insert correction value if required]

{theta}=ATAN2({X},{y-centre})

{theta-degrees}={theta}*(180/pi)

Then plot X vs. theta for a contour plot of the desired variable.


All times are GMT -4. The time now is 07:26.