CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Tecplot

Pathline Reading Format ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By Durrell4
  • 1 Post By Durrell4

Reply
 
LinkBack Thread Tools Display Modes
Old   September 16, 2014, 22:52
Default Pathline Reading Format ?
  #1
Member
 
Osman
Join Date: Oct 2012
Location: Japan
Posts: 51
Rep Power: 4
o_mars_2010 is on a distinguished road
What is the suitable text file format for tecplot to read for pathline ?
is this format suitable:

Xinitial Yinitial Xt Yt
o_mars_2010 is offline   Reply With Quote

Old   September 17, 2014, 11:56
Default Pathline Reading Format ?
  #2
Member
 
Durrell Rittenberg
Join Date: May 2011
Location: Bellevue WA
Posts: 38
Rep Power: 6
Durrell4 is on a distinguished road
Send a message via MSN to Durrell4 Send a message via Yahoo to Durrell4 Send a message via Skype™ to Durrell4
Hi,

How are you planning on using the pathlines in Tecplot? Depending on what you want to do with them once you get them in Tecplot you may not need to use the dx dy in the data file. If you write the data as x,y, time or x,y there are several way that you can animate the lines in Tecplot.

Also you can calculate particle paths and streaklines by using the analyze capabilities in 360 under the Analyze Menu and selecting Particle paths and streaklines.

Let me know what you are trying to do and I can point you in the right direction

Durrell
o_mars_2010 likes this.
Durrell4 is offline   Reply With Quote

Old   September 17, 2014, 12:11
Default
  #3
Member
 
Osman
Join Date: Oct 2012
Location: Japan
Posts: 51
Rep Power: 4
o_mars_2010 is on a distinguished road
Thanks for your help

So, i already calculated particles path line.using my code (2D flow field), there is no need to calculate them using Tecplot.


I have the start position for every particel x0(i,j), y0(i,j), also i have a series of position xt(i,j), yt(i,j)

What i need to know now, is how should be the format of the input data file for tecplot, in order to animate the lines.
o_mars_2010 is offline   Reply With Quote

Old   September 17, 2014, 12:18
Default Animating Lines in Tecplot
  #4
Member
 
Durrell Rittenberg
Join Date: May 2011
Location: Bellevue WA
Posts: 38
Rep Power: 6
Durrell4 is on a distinguished road
Send a message via MSN to Durrell4 Send a message via Yahoo to Durrell4 Send a message via Skype™ to Durrell4
I would recommend you write the data as a single zone i,j ordered. the animation of the point can be achieved with one of the macros at the link below.

http://www.tecplot.com/downloads/macros/

there are several other potential options depending on the specifics of the simulation. Do you plan on loading the field data as well? Are the data unsteady? In the case where you will be loading multiple time steps of field data and plan to animate them with the particle paths you may want to create a separate zone for each time step with the particles through that time step.

Hope that helps
Durrell4 is offline   Reply With Quote

Old   September 17, 2014, 12:32
Default
  #5
Member
 
Osman
Join Date: Oct 2012
Location: Japan
Posts: 51
Rep Power: 4
o_mars_2010 is on a distinguished road
I already made a macro to read the unsteady flow field data i have, it works very well.
it is in this format:
x y u v

The point i want to know now, what should be the format of the file of path line?
Should i make single file for every point in the flow field, like this:

x0, y0
xt1, yt1
xt2, yt2
.
.
.
.

or there is another way ?

and if i made in such a way i suggested above, what the steps should i do after loading this data file to tecplot?
Keeping in your mind that i already loaded the data file for the unsteady flow field.
Thanks in advance
o_mars_2010 is offline   Reply With Quote

Old   September 17, 2014, 12:53
Default File format for the time dependent particles
  #6
Member
 
Durrell Rittenberg
Join Date: May 2011
Location: Bellevue WA
Posts: 38
Rep Power: 6
Durrell4 is on a distinguished road
Send a message via MSN to Durrell4 Send a message via Yahoo to Durrell4 Send a message via Skype™ to Durrell4
I would suggest that you break the particle paths into separate zones and leverage tecplot's timestrands

Data Format Guide
Check section on "solution time" and StrandID

Are you writing in ASCII or binary format? Are you using TecIO to write from you solver? You can specify a solution time per zone in the particle data file and write out a single file with one zone per time step where you specify the solution time.

example:

zone 1
Solutiontime = 0
x0, y0

zone 2
Solutiontime = 1
x0, y0
x1, y1

There are other strategies that would work but this approach will allow you to use the time sliders in Tecplot 360
o_mars_2010 likes this.
Durrell4 is offline   Reply With Quote

Old   September 19, 2014, 03:03
Default
  #7
Member
 
Osman
Join Date: Oct 2012
Location: Japan
Posts: 51
Rep Power: 4
o_mars_2010 is on a distinguished road
Thanks a lot, it works great
o_mars_2010 is offline   Reply With Quote

Old   October 21, 2014, 02:38
Default
  #8
Member
 
Albert Tong
Join Date: Dec 2010
Location: Perth, WA, Australia
Posts: 74
Blog Entries: 1
Rep Power: 6
tfuwa is on a distinguished road
Quote:
Originally Posted by Durrell4 View Post
I would recommend you write the data as a single zone i,j ordered. the animation of the point can be achieved with one of the macros at the link below.

http://www.tecplot.com/downloads/macros/

there are several other potential options depending on the specifics of the simulation. Do you plan on loading the field data as well? Are the data unsteady? In the case where you will be loading multiple time steps of field data and plan to animate them with the particle paths you may want to create a separate zone for each time step with the particles through that time step.

Hope that helps
Hi Durrell,

I have a time-dependent flow field and managed to plot streaklines. The question is how to plot the pathlines with tecplot for the same flow field? Thank you in advance.
__________________
Kind regards,

Albert
tfuwa is offline   Reply With Quote

Old   October 23, 2014, 19:33
Default
  #9
Member
 
Durrell Rittenberg
Join Date: May 2011
Location: Bellevue WA
Posts: 38
Rep Power: 6
Durrell4 is on a distinguished road
Send a message via MSN to Durrell4 Send a message via Yahoo to Durrell4 Send a message via Skype™ to Durrell4
Hi Albert,

you can access pathline and streaklines under the analyze menu. I have posted a simple video here [youtube] walking through the process with Tecplot 360 EX 2014 R2. The basic process will be the same regardless of the version of 360 you are using.

If you have data that has a time strand you can use the current set of streamline seed points to calculate particle paths and streamline. We also support massed particles, oblation and gravity.

Check the documentation here: http://download.tecplot.com/360/curr...ers_manual.pdf

(21 - 9 Calculating Particle Paths and Streaklines)

Let me know if you make progress.

Durrell

Last edited by Durrell4; October 24, 2014 at 15:15.
Durrell4 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 May 2, 2013 10:52
Problem converting fluent mesh vinz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 20 November 17, 2012 11:54
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51


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