CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   How to plot Cp vs. Theta on a 3d Cylinder (http://www.cfd-online.com/Forums/fluent/123836-how-plot-cp-vs-theta-3d-cylinder.html)

nsiderbam September 22, 2013 13:07

How to plot Cp vs. Theta on a 3d Cylinder
 
Hey all!

This is my first post here. I'm a senior undergrad at the Naval Academy in Annapolis and have started some independent research with one of my professors, obviously involving CFD. I've been using this site for the last month or so once I started learning Fluent and it's been an incredible resource.

However, I'm still stumped on some things.

I've calculated a solution for a 3d cylinder in steady conditions at Re=10^6. Right now I'm trying to plot Cp vs. theta or static pressure vs. theta on the cylinder at the symmetry plane in the center but I can't figure out how. When I try to plot pressure vs. curve length, the xy plot window won't let me select "cylinder" (the named selection for the cylinder surface".

I've googled a lot and read through relevant parts of the manual and haven't found a solution. I'd appreciate any help you guys can offer. Thanks!

gfoam September 23, 2013 09:08

Are you using FLUENT to do that thing or CFDPost? If you are using CFDPost, you have to create a new curve where to plot the Cp variable. To do that first create a surface on the plae of symmetry of you cylinder. Then create a new polyline as the intersection of the ylinder and tha plane of symmetry. Now you can plot the Cp variable across the lenght of the polyline. But with that method you can't figure out where is the exact location of the independet variable. So i recomend you to split you geometry in two parts ('upper' and 'lower') and then plot Cp vs 'x' or 'y', depending on you coordinate system, and then export the data to a spreadsheet and correlate the 'x' or 'y' variable with the theta one. Regards
Gonzalo

nsiderbam September 23, 2013 11:05

I'm using CFDPost.

Thanks, I'll give that a shot.

I spent some time yesterday trying to figure out how to export the data but was unsuccessful. Is there a way to create a table and so that I can copy/paste the data into matlab or excel?

- George

gfoam September 23, 2013 14:29

Yes, In File/Export/Export/..., you have to select the variables, location (lines, surfaces). With al the rest of the parameters, leave as default. I don't know if you know the csv format, but it is an ASCII file with values comma separated, that you can open with a spreadsheet

Centurion2011 September 25, 2013 04:25

cfd post can do that for sure, just browse a bit through i'ts help file..

nsiderbam September 25, 2013 08:32

gfoam's solution worked. I was able to extract all the x and pressure data and then use an acos function to determine theta.

The report I'm trying to compare to plots the spanwise average pressure vs. theta and not just at the center of the cylinder, so now I'm trying to figure out how to do that.

Thanks!

kiran1992 September 21, 2014 14:33

how to convert x-position to theta in excel


All times are GMT -4. The time now is 14:48.