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

Error loading particle tracks from .trk file in CFD-Post

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Gert-Jan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 08:37
Exclamation Error loading particle tracks from .trk file in CFD-Post
  #1
New Member
 
Mads Ivarson
Join Date: Jul 2019
Posts: 17
Rep Power: 7
Nosravi is on a distinguished road
Hello!

I am experiencing an error when trying to create a particle track for my simulaton. The simulation is of sand particles dispersed in water through a pressurized tunnel.

CFD-Post asks for CFX-4 Tracks from file, where I upload my .trk file from the simulation. When I press 'Apply', I gett the following error message:

ERROR
Invalid CFX-4 Particle Track file: C:/Users/user1/Downloads/PT1.trk
Invalid number of data elements supplied on line 2:
Expecting 4, Received 5.

I have used particle tracks successfully before, however, that was when using workbench. Now I am using the standalone version both for simulation and post-processing.

If anyone has any tips on how to resolve this problem, I would appreaciate it a lot!
Nosravi is offline   Reply With Quote

Old   April 19, 2021, 14:24
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28
Gert-Jan will become famous soon enough
Aren't the tracks present in your Post session? They are saved in the results file by default and loaded in Post automatically, so no need to load them separately. Unless you use CFX-4. But that is really ancient stuff......
Nosravi and aero_head like this.
Gert-Jan is online now   Reply With Quote

Old   April 20, 2021, 05:25
Default
  #3
New Member
 
Mads Ivarson
Join Date: Jul 2019
Posts: 17
Rep Power: 7
Nosravi is on a distinguished road
Thanks for replying!

I have used 'Selected variables' in my output control for the first time. When particle tracks worked for me before, I used 'Standard'. Then I could see the 'Res Particle Tracks' in CFD-Post, which, as I understand it, is what should be displayed when the tracks are included in the .res file. Maybe I missed something when selecting which variables to output?

I am running a new simulation now with the 'Standard' option to see if it makes a difference.
Nosravi is offline   Reply With Quote

Old   April 20, 2021, 07:45
Default
  #4
New Member
 
Mads Ivarson
Join Date: Jul 2019
Posts: 17
Rep Power: 7
Nosravi is on a distinguished road
After running the simulation with 'Standard' as the output choice, I can now view the particle tracks. It seems like there was something I missed about particle tracking when I chose the 'Selected variables' option.
Nosravi is offline   Reply With Quote

Old   April 20, 2021, 14:28
Default
  #5
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9
aero_head is on a distinguished road
Quote:
Originally Posted by Nosravi View Post
After running the simulation with 'Standard' as the output choice, I can now view the particle tracks. It seems like there was something I missed about particle tracking when I chose the 'Selected variables' option.
Yeah, it's an easy mistake. Glad it worked out for you.
aero_head is offline   Reply With Quote

Reply

Tags
.trk, multi phase flow, particle track


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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 17:05
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59


All times are GMT -4. The time now is 15:50.