CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Polyline in CFX-POST

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2001, 06:54
Default Polyline in CFX-POST
  #1
gilberto
Guest
 
Posts: n/a
Hi everyone,

How do you create a polyline in CFX-POST???If it is not an intersection between and object and a boundary,the only other option is Create Polyline From File!!!

The instructions are really confusing in the Manual,can any of you give me a clear example of creating a line,for instance, from point (1 2 3) to (4 5 6).

If any of you have come across this roblem,please let me know,thanks very much!!!
  Reply With Quote

Old   December 5, 2001, 10:15
Default Re: Polyline in CFX-POST
  #2
cfd guy
Guest
 
Posts: n/a
Hi gilberto,
I have never used CFX-POST, however in CFX-Visualize which comes with CFX-5, a polyline file is a set of coordinate points [x y z]. I'll show you below:

0. 0.0 -0.1
0. 0.1 -0.1
0. 0.2 -0.1
0. 0.3 -0.1
In the example above I created a line along the X axis at a certain Z position. You can easily make points like this (a function) in applications like Excel, Origin, etc. But remember to save them in an ASCII file.

Hope this helps,
cfd guy
  Reply With Quote

Old   December 5, 2001, 13:25
Default Re: Polyline in CFX-POST
  #3
gilberto
Guest
 
Posts: n/a
Thanks,mate!!!

But the important question is,how do you do that??(Meaning saving it as an ASCII file),and most important, is the program going to recognise that format??
  Reply With Quote

Old   December 5, 2001, 19:46
Default Re: Polyline in CFX-POST
  #4
Robin Steed
Guest
 
Posts: n/a
Hi Gilberto!!!!,

Ease up on the emotion, is everything a crisis????

At this stage, it is not possible to create a polyline other than the method stated above.

What is your need for the polyline? Are you trying to extract data along it?

Robin
  Reply With Quote

Old   December 6, 2001, 10:57
Default Re: Polyline in CFX-POST
  #5
gilberto
Guest
 
Posts: n/a
Hi, Robin!!!

No, of course it was not a crisi,although sometimes it seems, but it is simply the way I express myself, with exclamation signs and so on, but it was not really a critical question.

Yes, what I wanted was to extract some values along one special line,difining two points in it.

My very important questions qill come soon, when I start to make my rotor rotate, and I will possibly find some difficulties in that.I count on you,my friend.

Thanks for your help,and I will try to make my queries a bit more calmed,, ha ha ha

  Reply With Quote

Old   December 6, 2001, 11:11
Default Re: Polyline in CFX-POST
  #6
cfd guy
Guest
 
Posts: n/a
Hi gilberto,
As I stated above, I just forgot one thing, at the beggining of the polyline file you MUST specify the number of points that properties will be interpolated. Example:
Open your NOTEPAD (the same which comes with MS-Windows) and put the follow numbers:
4
0.1 -0.5 -1.0
0.1 -0.4 -1.0
0.1 -0.3 -1.0
0.1 -0.2 -1.0
Now save the file and put it into CFX-POST and you will realize that a line at constant X and Z position will be created. And when you export the desired properties, 4 values will appear 'cause you only defined 4 points.
Still in doubt? Regards,
cfd guy
  Reply With Quote

Old   December 6, 2001, 11:42
Default Re: Polyline in CFX-POST
  #7
gilberto
Guest
 
Posts: n/a
No doubts whatsoever!!!!

Thank you, mate!!

Regards
  Reply With Quote

Old   December 6, 2001, 22:52
Default Re: Polyline in CFX-POST
  #8
Robin Steed
Guest
 
Posts: n/a
Hi Gilberto,

If you don't want to create the points and import the polyline, you could create a sampling plane and restrict it's range to get the points you wish.

Personally, I would just make the points and import them.

Regards, Robin
  Reply With Quote

Old   December 7, 2001, 04:35
Default Re: Polyline in CFX-POST
  #9
gilberto
Guest
 
Posts: n/a
I already did that, I created the points, and evrything, but when I create the chart, I still cannot see any curve in the chart.Is that because the number of points I created, or something like that?

Regards,

Gilberto
  Reply With Quote

Old   December 7, 2001, 04:38
Default Re: Polyline in CFX-POST
  #10
gilberto
Guest
 
Posts: n/a
I did it, but when I create the chart, I still cnnot see anything but the axes.Is that because I have to create a bigger number of points???

Obrigado,meu amigo!!
  Reply With Quote

Old   December 7, 2001, 12:50
Default Re: Polyline in CFX-POST
  #11
mike
Guest
 
Posts: n/a
Sounds like you need to define some lines in your file. The list of points is just that - points. To create lines you define lines that connect the points. This example create 3 lines (in 1 Polyline object) that form a trangle

0 0 0 0 0.05 0.25 0 0 0.25 # Lines 0 1 1 2 2 0

i.e the 1st line connects point 0 to point 1, the 2nd line connects point 1 to point 2 etc

Hope this helps Mike
  Reply With Quote

Old   December 7, 2001, 12:56
Default Re: Polyline in CFX-POST
  #12
mike
Guest
 
Posts: n/a
ok, the line breaks didn't come out in that last respones - try again

0 0 0

0 0.05 0.25

0 0 0.25

# Lines

0 1

1 2

2 0

If this doesn;t come out then there's a line break after every 3rd number before "# Lines", then one after every 2nd number after # Lines.

Mike
  Reply With Quote

Old   December 7, 2001, 12:59
Default Re: Polyline in CFX-POST
  #13
gilberto
Guest
 
Posts: n/a
Well, apparently CFX Post did actually create a polyline out of my file with the points.Now, the problem is a bit different,because after defining the polyline,I create a chart, but no lines are plotted in my X-Y chart.

Thanks for your help anyway, mate
  Reply With Quote

Old   December 7, 2001, 13:08
Default Re: Polyline in CFX-POST
  #14
cfd guy
Guest
 
Posts: n/a
Hi gilberto,
As I said, I still did not have any contact with CFX-POST and I don't know what is a chart, at least Visualize doesn't have this feature.


PS.: Seu nome nunca me enganou, tinha fortes suspeitas de vc ser brasileiro (ou ao menos fala português).

Regards,
cfd guy
  Reply With Quote

Old   December 7, 2001, 13:36
Default Re: Polyline in CFX-POST
  #15
gilberto
Guest
 
Posts: n/a
Non,eu sou espanyol!!!

But I used to live very close to Galicia in Northern Spain!!!

Regards,my friend
  Reply With Quote

Old   December 7, 2001, 14:20
Default Re: Polyline in CFX-POST
  #16
steve
Guest
 
Posts: n/a
Is the polyline positioned along an edge of the doimain (i.e. along x=0). If so then the polyline may fall outside the domain due to rounding errors in the grid. If this is the case then no values would be plotted on the chart. This would also explain why the plane intersection technique for creating the polyline failed.

If this is the case then try shifting the values for the polyline slightly. i.e. x = 0.0001 instead of x=0.0.

  Reply With Quote

Old   December 7, 2001, 15:00
Default Re: Polyline in CFX-POST
  #17
mike
Guest
 
Posts: n/a
Just as a correction, you don't have to create Lines. If no lines are specified then subsequent points are joined together.
  Reply With Quote

Old   December 8, 2001, 10:32
Default Re: Polyline in CFX-POST
  #18
Robin Steed
Guest
 
Posts: n/a
Hi Gilberto,

Post will only return values at the vertices on the polyline. If you want values at 20 points, from [0,0,0] to [0,0,1] for instance, you must create a polyline which is made up from points: [0,0,], [0,0,.05], [0,0,.1], ... [0,0,.95], [0,0,1].

The line you see in post is really just for visualization, the points themselves are the locators from which the data is returned.

Regards, Robin

  Reply With Quote

Old   December 8, 2001, 14:51
Default Re: Polyline in CFX-POST
  #19
gilberto
Guest
 
Posts: n/a
That explains everything!!!Fine, my friend, I know what to do now,now it is working!!!

As usual, you have been of great help!Thanks a lot,amigo!!!
  Reply With Quote

Old   January 6, 2015, 08:18
Default
  #20
New Member
 
Katrin Herking
Join Date: Jan 2015
Posts: 2
Rep Power: 0
Kaki is on a distinguished road
Dear All,

I would like to create a curved polyline in CFX POST. Some of the answers above were very helpful to create the txt-File. But now my problem is that it seems to be not possible to create a curved polyline in POST, because a straight line is working and i am able to export the velocity on this line.

Does anyone has a hint why it doesn't work on a curved polyline and what's an alternative possibility? Thanks in advance =)
Kaki is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get reynolds stress values in POST CFX syler3321 CFX 6 January 1, 2017 07:54
CFX post legend modification mactech001 CFX 3 December 25, 2011 22:12
CFX Post processing aditya CFX 1 July 6, 2008 12:09
Chart Generation in CFX Post Vadim Baines-Jones CFX 2 August 28, 2007 09:14
Tecplot for CFX post processing pantangi goud CFX 2 August 24, 2005 16:42


All times are GMT -4. The time now is 20:00.