CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Sorting Cp Plot Data and ordering (https://www.cfd-online.com/Forums/star-ccm/241746-sorting-cp-plot-data-ordering.html)

ashf9 March 17, 2022 05:59

Sorting Cp Plot Data and ordering
 
1 Attachment(s)
Hi,

I just did a simulation, and got my cp data as points are shown in the attachment. However, how do I draw a line along the points so its not just simple points but rather a continous line along the points. When I treid exporting in excel it doesnt work because the points aren't ordered. How would one order these points?

Thanks

DRiver March 17, 2022 08:26

Quote:

Originally Posted by ashf9 (Post 824236)
Hi,

I just did a simulation, and got my cp data as points are shown in the attachment. However, how do I draw a line along the points so its not just simple points but rather a continous line along the points. When I treid exporting in excel it doesnt work because the points aren't ordered. How would one order these points?

Thanks

Hi,

You need to go to your plot (let's call it "XY Plot 1") and follow this path:

XY Plot 1 -> Y Types -> Y Type 1 -> Line Probe -> Line Style -> Style -> Solid

ashf9 March 17, 2022 09:33

1 Attachment(s)
Its the same problem as before, there is one line that's shooting off completely, I think its something to do with the ordering
Quote:

Originally Posted by DRiver (Post 824253)
Hi,

You need to go to your plot (let's call it "XY Plot 1") and follow this path:

XY Plot 1 -> Y Types -> Y Type 1 -> Line Probe -> Line Style -> Style -> Solid


cwl March 17, 2022 10:02

There is "sort data" somewhere in the line properties.

DRiver March 17, 2022 10:12

Quote:

Originally Posted by ashf9 (Post 824268)
Its the same problem as before, there is one line that's shooting off completely, I think its something to do with the ordering

StarCCM+ has the option to sort data, but it will sort it by their X-position, then the plot would be kind of messy.

Therefore, in that case and just based on the picture you've uploaded. You could divide the probe into two new ones. You could split it using the chord (taking advantage of the symmetric NACA profile). Then, you could reorder the data by their X-positions.


All times are GMT -4. The time now is 10:35.