CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Error when importing particle tracks CFD-Post (

S1m0n1 March 28, 2013 19:39

Error when importing particle tracks CFD-Post
Hi all,

I am trying to track particles with the flow of air. I have 3 different density particles. I used FLUENT to determine a solution and now I want to use CFD Post to show a 3D view. I want to show the stream lines of air and the particle paths to see how the particles follow the flow. (i.e. the higher density particles should have a tougher time following the streamlines compared to the lightest density particles)

I exported the particle history data from FLUENT. I created a .xml file but CFD Post is asking for a .trk file. When I try and click on the .xml anyways I receive this error:

Invalid number of data elements supplied on line 2:
expecting 4, received 1."

Is there a way to get around this error?

Is there a way to convert an .xml file to a .trk file?

Do you have an suggestions on how I can import the file?


diamondx March 28, 2013 19:59

hello my friend, here is the solution to your problem:

You are clicking on particle track and it asks you for the trk file, right ?

click on FILE->IMPORT->FLUENT HISTORY PARTICLE, then it will ask for xml.

Enjoy the beauty of that.

S1m0n1 April 1, 2013 16:25

Thanks for your help. It work.

The reason it didn't work was because I was clicking on particle track and it was asking me for a trk file.

nadesan April 17, 2013 00:37

hi simon1,

Just wondering how did you create .xml file from fluent. I am using FLUENT 12, when i try writing the file by enabling xy plot, it is saved as .xy format. Should we do it by reporting step by step so that it gives the coordinate of the particles ! Your reply is much appreciated.

Thank you

ghafarimahsa August 16, 2016 15:26

Don't open it in Excel.
Open it in Notepad ++, there should be some extra commas that you cannot see them on excel and delet them

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