CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Tecplot (http://www.cfd-online.com/Forums/tecplot/)
-   -   graphic particles in tecplot (http://www.cfd-online.com/Forums/tecplot/97426-graphic-particles-tecplot.html)

FMDenaro February 16, 2012 17:01

graphic particles in tecplot
 
hello,
does someone know how to use in tecplot a file containing a set of positions (x,y,z) of lagrangian particles while retaining the layout of the eulerian flow variables? I just want to superimpose the positions over a shaded field

FMDenaro February 16, 2012 17:40

well, I just found the way ...

virrast October 25, 2012 06:15

graphic particles in tecplot
 
Dear Filippo,

I am trying to import particle positions from fluent to tecplot. However, I couldn't find simple solution for this. I would be grateful if you would share your method. Thank you very much.

FMDenaro October 25, 2012 11:05

Quote:

Originally Posted by virrast (Post 388446)
Dear Filippo,

I am trying to import particle positions from fluent to tecplot. However, I couldn't find simple solution for this. I would be grateful if you would share your method. Thank you very much.

you have to write an ascii file with the x,y,z positions and load it in tecplot within the flow field data. Then you can set to see both fields

virrast October 25, 2012 12:12

Quote:

Originally Posted by FMDenaro (Post 388502)
you have to write an ascii file with the x,y,z positions and load it in tecplot within the flow field data. Then you can set to see both fields

Dear Filippo,

Thank you for your answer.
I am already doing this, however I am unable to see both fields.
Procedure I am doing is the following:
I am using fluent data loader to load my cas, and dat files.
Then I use Tecplot loader to import particle tracks, when I am asked for file I use my ascii file with injections properties.
After that I choose to add variables to existing field.
However, I am able to display only my particle tracks, fluid zones and variables exist on the list but I can not display them.
If I do the opposite, so 1st I add ascii using Tecplot data loader, and than add .cas and .dat using Fluent data loader, then I can see only fluid variables, but not particle tracks (to be clear, again I choose option to add data to existing set, I didn't replace existing data).
I would be very grateful If you would be able to comment on this.

FMDenaro October 25, 2012 12:43

Quote:

Originally Posted by virrast (Post 388525)
Dear Filippo,

Thank you for your answer.
I am already doing this, however I am unable to see both fields.
Procedure I am doing is the following:
I am using fluent data loader to load my cas, and dat files.
Then I use Tecplot loader to import particle tracks, when I am asked for file I use my ascii file with injections properties.
After that I choose to add variables to existing field.
However, I am able to display only my particle tracks, fluid zones and variables exist on the list but I can not display them.
If I do the opposite, so 1st I add ascii using Tecplot data loader, and than add .cas and .dat using Fluent data loader, then I can see only fluid variables, but not particle tracks (to be clear, again I choose option to add data to existing set, I didn't replace existing data).
I would be very grateful If you would be able to comment on this.


First, my files are generated by my personal code, I don't use Fluent ...
I write the .dat file with the flow variables on the Cartesian mesh and a .dat file for the particles in the form:

VARIABLES = "X","Y","Z"
ZONE F=POINT, I= Nx J= Ny K= Nz
---------
---------

The I load all the files required for a temporal sequence and I active the zone. The particles must be see as a Lagrangia mesh, without linking the point-to-point by lines but only by symbols.
I generated also some short video in this way...

#FireWolf February 22, 2013 05:43

Dear Filippo,

could you explain in more details your procedure?
I'm using a proper code to make Euler-Lagrange simulations and would like to use this kind of features to plot the particle positions in the flow field.
I'm loading directly a tecplot format file (*.plt). I followed your instructions to generate a particle positions file, but I couldn't found where I should load it in tecplot. By the way, I'm using the version 2009 of tecplot.

Best regards,

FMDenaro February 22, 2013 05:56

1 Attachment(s)
Quote:

Originally Posted by #FireWolf (Post 409468)
Dear Filippo,

could you explain in more details your procedure?
I'm using a proper code to make Euler-Lagrange simulations and would like to use this kind of features to plot the particle positions in the flow field.
I'm loading directly a tecplot format file (*.plt). I followed your instructions to generate a particle positions file, but I couldn't found where I should load it in tecplot. By the way, I'm using the version 2009 of tecplot.

Best regards,

As example, try saving my file, then load it, active the zone, active the mesh and the scatter. You will see only the node of the mesh those are the lagrangian positions (you can set symbol shape, colour, dimension). You can add any file you want to see a movie ;)

#FireWolf February 22, 2013 06:38

Dear Filippo,

thank you very much for your answer!!! Now I can see the particles into the flow field. Great!
I still having a question that is about when you wrote:

VARIABLES = "X","Y","Z"
ZONE F=POINT, I= Nx J= Ny K= Nz
---------
---------

What means Nx, Ny and Nz?

Thank you very much again!

Cheers,

FMDenaro February 22, 2013 07:27

Quote:

Originally Posted by #FireWolf (Post 409483)
Dear Filippo,

thank you very much for your answer!!! Now I can see the particles into the flow field. Great!
I still having a question that is about when you wrote:

VARIABLES = "X","Y","Z"
ZONE F=POINT, I= Nx J= Ny K= Nz
---------
---------

What means Nx, Ny and Nz?

Thank you very much again!

Cheers,

just to mimic the cartesian structure. For example one can set Nx=1 for the initial distribution at some fixed x and distributed in y,z with Ny and Nz particles

#FireWolf February 22, 2013 07:56

Quote:

Originally Posted by FMDenaro (Post 409493)
just to mimic the cartesian structure. For example one can set Nx=1 for the initial distribution at some fixed x and distributed in y,z with Ny and Nz particles

Thank you for your answer Filippo,

In this website: http://www.me.umn.edu/courses/old_me...aformats.shtml
I found reasonable detailed explanations about tecplot files format.


Cheers,


All times are GMT -4. The time now is 21:41.