|
[Sponsors] |
September 16, 2014, 22:52 |
Pathline Reading Format ?
|
#1 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 13 |
What is the suitable text file format for tecplot to read for pathline ?
is this format suitable: Xinitial Yinitial Xt Yt |
|
September 17, 2014, 11:56 |
Pathline Reading Format ?
|
#2 |
Member
|
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 |
|
September 17, 2014, 12:11 |
|
#3 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 13 |
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. |
|
September 17, 2014, 12:18 |
Animating Lines in Tecplot
|
#4 |
Member
|
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 |
|
September 17, 2014, 12:32 |
|
#5 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 13 |
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 |
|
September 17, 2014, 12:53 |
File format for the time dependent particles
|
#6 |
Member
|
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 |
|
September 19, 2014, 03:03 |
|
#7 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 13 |
Thanks a lot, it works great
|
|
October 21, 2014, 02:38 |
|
#8 | |
Member
Albert Tong
Join Date: Dec 2010
Location: Perth, WA, Australia
Posts: 76
Blog Entries: 1
Rep Power: 15 |
Quote:
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 |
||
October 23, 2014, 19:33 |
|
#9 |
Member
|
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Problem converting fluent mesh | vinz | OpenFOAM Meshing & Mesh Conversion | 28 | October 12, 2015 06:37 |
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 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |