STAR-CCM+ Particle Track (.trk) conversion

Parent Previous Next

STAR-CCM+ Particle Track (.trk) file conversion to EnSight

Users of STAR-CCM+ who are also using the Lagrangian or discrete element modeling capability, there is a new translation utility from ANSYS to convert the STAR-CCM+ based particle track file into EnSight's Measured Data format, to visualize and analyze within EnSight.

This translation routine takes an existing EnSight Case Format files (the continuous domain) exported from STAR-CCM+, along with the STAR-CCM+ based Particle Track files (.trk). The routine converts the .trk file contents onto a single timeline, creates the appropriate EnSight Measured Data files (in a "trk_mea_files" directory), and modifies the EnSight Case file to include the appropriate references for the Measured Data Files. Once loaded, the user can visualize, analyze, and communicate the information contained within both the Lagrangian/discrete phase along with the continuous phase.

To utilize this new translation routine, please follow the instructions below:

  1. Start EnSight 10. You should notice a new tool under the "UserDefinedTools -- > File Import/Export" denoting STAR-CCM+ .trk file translation:

  1. Ensure that you have exported the continuous domain from STAR-CCM+ into EnSight format.
  2. Double click the "STAR-CCM+ .trk import" tool from the UserDefinedTools area.

  1. Configure the operation in the dialog
  1. Click on the "Convert" button to convert the STAR-CCM+ based Track File into EnSight Measured data.

    You will see a progress bar indicating the progress through the process of reading, re-sampling, and writing out the new EnSight Measured data. Two new items are written in the same directory : "trk_mea_files" directory containing the EnSight format Measured Data, and a modified .case file "<original_name>_particles.case"

    Once complete, you will get a "Done" Dialog, after which the new case file will be automatically loaded in. You can now change the visible aspects of the Measured Data via the "Node Display" icon :



Since the Translation routine writes new Measured Data files, subsequent loading of this case with Measured data, the user can simply specify to load the "_particles.case" file directly, without the need to re-translate the Particle Track information each time.

Should you have any questions, please do not hesitate to contact CEI (support@ceisoftware.com) with questions, comments, praise.

Video Tutorial:

To further assist your use of STAR-CCM+ Particles in EnSight, please consult this video tutorial here:

http://www.ceisoftware.com/wp-content/uploads/screencasts/star_ccm_plus_trackfiles/star_ccm_plus_trackfiles.html

Users of STAR-CD v3.x and v4.x:

Note: This routine mentioned here is meant to work for the specific "STAR-CCM+" based track file format, which is different to that of STAR-CD (v3.x and v4.x) particle track routines. If you are trying to convert "STAR-CD" based particle track files, please see our existing "f33toparticle" conversion routine.

http://ceisoftware.zendesk.com/entries/23238017-STAR-CD-Droplet-Lagrangian-Particles-to-EnSight-

http://video.ceisoftware.com/media/starcd_trackfile


Revision History 

** Version 2.3:  Updated 01-May-2014 for mint & maxt calculation, as well as sorting trks based on time prior to re-sampling/interpolation. **